Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_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.001084/0.001084, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001354/0.001354, allocations: 168.7 kB / 15.95 MB, free: 204 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.000365, allocations: 8 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8226, allocations: 142.3 MB / 0.9539 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0007792/0.8234, allocations: 484.5 kB / 0.9543 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.8241, allocations: 0.8226 MB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.8242, allocations: 1.5 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.8244, allocations: 53.92 kB / 0.9552 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.8244, allocations: 33.52 kB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.163e-05/0.8245, allocations: 14.23 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.8246, allocations: 83.17 kB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.8247, allocations: 13.31 kB / 0.9553 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.8248, allocations: 42.2 kB / 0.9554 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.8249, allocations: 68.66 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.825, allocations: 4.031 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.825, allocations: 3 kB / 0.9554 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.8251, allocations: 28.19 kB / 0.9555 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.8251, allocations: 37.73 kB / 0.9555 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.048e-05/0.8252, allocations: 80.52 kB / 0.9556 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8252, allocations: 0 / 0.9556 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8252, allocations: 0 / 0.9556 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.8252, allocations: 4.969 kB / 0.9556 GB, free: 6.828 MB / 0.7169 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.0006081/0.8258, allocations: 472.7 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8259, allocations: 10.41 kB / 0.956 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.8259, allocations: 39.62 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.8259, allocations: 13.52 kB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.8261, allocations: 199.9 kB / 0.9563 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.8261, allocations: 7.016 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.8261, allocations: 7.5 kB / 0.9563 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.8265, allocations: 162 kB / 0.9565 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.8265, allocations: 0 / 0.9565 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8265, allocations: 5.156 kB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.8265, allocations: 5.188 kB / 0.9565 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.827, allocations: 208 kB / 0.9567 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.8277, allocations: 0.5161 MB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.8281, allocations: 176.2 kB / 0.9573 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.8283, allocations: 115.8 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.8284, allocations: 1.625 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.8284, allocations: 43.92 kB / 0.9575 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.8284, allocations: 0 / 0.9575 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008209/0.8292, allocations: 325.2 kB / 0.9578 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.8293, allocations: 82.98 kB / 0.9579 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.8294, allocations: 162.4 kB / 0.958 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.8294, allocations: 25.7 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.8294, allocations: 104.6 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.8295, allocations: 32.3 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.8295, allocations: 8 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.8295, allocations: 321.8 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.8298, allocations: 94.8 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.83, allocations: 102.6 kB / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.8302, allocations: 107 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8302, allocations: 1.375 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004701/0.8307, allocations: 239 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8307, allocations: 9.453 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8308, allocations: 0 / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.8308, allocations: 1.375 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.831, allocations: 54.2 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.831, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.8311, allocations: 33.95 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.8311, allocations: 1.375 kB / 0.9591 GB, free: 4.109 MB / 0.7169 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 7.365e-05/0.8312, allocations: 132.6 kB / 0.9592 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.8312, allocations: 21.16 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.8313, allocations: 20.77 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8313, allocations: 2.094 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8313, allocations: 0 / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8313, allocations: 1.094 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.8316, allocations: 218.7 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8316, allocations: 0 / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.8317, allocations: 46.36 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8318, allocations: 1.25 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.8318, allocations: 4.844 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8318, allocations: 4.984 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8318, allocations: 1 kB / 0.9596 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.8323, allocations: 417.5 kB / 0.9599 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.8323, allocations: 92.08 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.8324, allocations: 8.875 kB / 0.96 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.8326, allocations: 33.27 kB / 0.9601 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.8326, allocations: 16.12 kB / 0.9601 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8326, allocations: 5.188 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.8327, allocations: 120.3 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.12e-07/0.8327, allocations: 0.7812 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000272/0.833, allocations: 23.53 kB / 0.9602 GB, free: 3.16 MB / 0.7169 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.0007165/0.8337, allocations: 0.9382 MB / 0.9612 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.8343, allocations: 198.3 kB / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8343, allocations: 1.031 kB / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.8346, allocations: 110.3 kB / 0.9614 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.8349, allocations: 19.5 kB / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.8367, allocations: 0.9545 MB / 0.9624 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.8369, allocations: 0.7124 MB / 0.9631 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.643e-05/0.837, allocations: 29.81 kB / 0.9631 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.837, allocations: 31.42 kB / 0.9632 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.837, allocations: 0 / 0.9632 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.8486, allocations: 2.272 MB / 0.9654 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.8488, allocations: 197 kB / 0.9656 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.523, allocations: 4 kB / 0.9656 GB, free: 15.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat