Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.618/3.618, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004632, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001045/1.049, allocations: 486.2 kB / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001091/1.05, allocations: 0.8259 MB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/1.05, allocations: 7.938 kB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/1.05, allocations: 51.86 kB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/1.05, allocations: 31.94 kB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.135e-05/1.05, allocations: 11.98 kB / 0.9823 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000121/1.051, allocations: 59.84 kB / 0.9823 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/1.051, allocations: 23.94 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/1.051, allocations: 31.89 kB / 0.9824 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/1.051, allocations: 71.78 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/1.051, allocations: 7.938 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.794e-05/1.051, allocations: 4 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/1.051, allocations: 31.91 kB / 0.9825 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/1.051, allocations: 37.64 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/1.051, allocations: 79.83 kB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/1.051, allocations: 0 / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/1.051, allocations: 4 kB / 0.9826 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.051, allocations: 0 / 0.9826 GB, free: 4.543 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009444/1.052, allocations: 465.1 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.052, allocations: 12.03 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/1.052, allocations: 34.55 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/1.052, allocations: 11.91 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/1.053, allocations: 204.3 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.053, allocations: 4 kB / 0.9833 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/1.053, allocations: 7.938 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/1.053, allocations: 171.2 kB / 0.9835 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.053, allocations: 4 kB / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.053, allocations: 0 / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.053, allocations: 4 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/1.054, allocations: 199.8 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/1.055, allocations: 0.5202 MB / 0.9842 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/1.055, allocations: 181.1 kB / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/1.055, allocations: 4 kB / 0.9843 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/1.055, allocations: 30.56 kB / 0.9844 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/1.055, allocations: 0 / 0.9844 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0009406/1.056, allocations: 337.3 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.056, allocations: 81.11 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/1.056, allocations: 160.2 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/1.056, allocations: 37.69 kB / 0.985 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/1.057, allocations: 100.1 kB / 0.9851 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/1.057, allocations: 31.53 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/1.057, allocations: 4 kB / 0.9851 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.057, allocations: 322.8 kB / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/1.057, allocations: 91.92 kB / 0.9855 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/1.057, allocations: 109.6 kB / 0.9856 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.058, allocations: 104.2 kB / 0.9857 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.058, allocations: 3.953 kB / 0.9857 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006443/1.058, allocations: 237.4 kB / 0.9859 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.058, allocations: 4 kB / 0.9859 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.058, allocations: 3.938 kB / 0.9859 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/1.058, allocations: 4 kB / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/1.059, allocations: 47.89 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.059, allocations: 8.078 kB / 0.986 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.059, allocations: 31.97 kB / 0.986 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/1.059, allocations: 4 kB / 0.986 GB, free: 0.7773 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.059, allocations: 129.8 kB / 0.9861 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/1.059, allocations: 15.77 kB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/1.059, allocations: 20.23 kB / 0.9862 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.059, allocations: 4 kB / 0.9862 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.059, allocations: 0 / 0.9862 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.059, allocations: 0 / 0.9862 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/1.06, allocations: 217.6 kB / 0.9864 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.06, allocations: 4 kB / 0.9864 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.06, allocations: 51.91 kB / 0.9864 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/1.06, allocations: 0 / 0.9864 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.06, allocations: 4 kB / 0.9864 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.06, allocations: 0 / 0.9864 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.06, allocations: 3.938 kB / 0.9864 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/1.061, allocations: 428.2 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/1.061, allocations: 92.86 kB / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/1.061, allocations: 0 / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.061, allocations: 31.97 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/1.061, allocations: 11.98 kB / 0.987 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.061, allocations: 4 kB / 0.987 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001539/1.062, allocations: 127.2 kB / 0.9871 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 0 / 0.9871 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002965/1.062, allocations: 16 kB / 0.9871 GB, free: 15.54 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/1.063, allocations: 1.032 MB / 0.9881 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006959/1.064, allocations: 199.8 kB / 0.9883 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.064, allocations: 0 / 0.9883 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/1.064, allocations: 107.9 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/1.065, allocations: 13.7 kB / 0.9884 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.067, allocations: 1.104 MB / 0.9895 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/1.068, allocations: 0.7172 MB / 0.9902 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.57e-05/1.068, allocations: 24.44 kB / 0.9902 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/1.068, allocations: 31.42 kB / 0.9903 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/1.068, allocations: 4 kB / 0.9903 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/1.121, allocations: 2.256 MB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004544/1.122, allocations: 198.3 kB / 0.9927 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.725, allocations: 2.531 kB / 0.9927 GB, free: 9.852 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat