Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.001181/0.001181, allocations: 100.1 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.001367/0.001368, 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.5/2.5, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 15.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7971, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.00078/0.7979, allocations: 391.5 kB / 0.954 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.7987, allocations: 0.7993 MB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.7988, allocations: 4 kB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.7988, allocations: 3.938 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.7989, allocations: 5.312 kB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.799, allocations: 6.422 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.799, allocations: 12.05 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.7991, allocations: 6.094 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.7992, allocations: 10.59 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.7993, allocations: 11.44 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.7993, allocations: 1.406 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.7993, allocations: 0 / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.7993, allocations: 9.547 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.7993, allocations: 27.33 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.059e-05/0.7994, allocations: 11.19 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.7994, allocations: 0 / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.446e-06/0.7994, allocations: 0 / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7994, allocations: 7.875 kB / 0.9549 GB, free: 7.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003553/0.7998, allocations: 337.5 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7998, allocations: 13.09 kB / 0.9552 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.7999, allocations: 31.12 kB / 0.9552 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.7999, allocations: 5.109 kB / 0.9552 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.8, allocations: 160.5 kB / 0.9554 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.8, allocations: 1.906 kB / 0.9554 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.8, allocations: 5.625 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.8002, allocations: 48.7 kB / 0.9554 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.8002, allocations: 7.984 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8002, allocations: 9.188 kB / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8002, allocations: 0 / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.8004, allocations: 51.78 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.8007, allocations: 245 kB / 0.9557 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.8008, allocations: 44.7 kB / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.8008, allocations: 0 / 0.9558 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.8009, allocations: 35.66 kB / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8009, allocations: 0 / 0.9558 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.8012, allocations: 107.3 kB / 0.9559 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.8013, allocations: 51.53 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.8013, allocations: 103.5 kB / 0.9561 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.8013, allocations: 25.7 kB / 0.9561 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.8014, allocations: 85.23 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.8014, allocations: 12.89 kB / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.8014, allocations: 0 / 0.9562 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.8014, allocations: 312 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.8015, allocations: 26.27 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.8016, allocations: 18.02 kB / 0.9565 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.8017, allocations: 26.16 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8017, allocations: 0 / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.8019, allocations: 78.67 kB / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8019, allocations: 5.031 kB / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8019, allocations: 0 / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.802, allocations: 0 / 0.9566 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.8021, allocations: 17.72 kB / 0.9567 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.8021, allocations: 4.031 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.8021, allocations: 9.328 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.8021, allocations: 1.438 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.785e-05/0.8022, allocations: 111.1 kB / 0.9568 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.8022, allocations: 1.531 kB / 0.9568 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.8024, allocations: 84.44 kB / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.8025, allocations: 0 / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8025, allocations: 9.109 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8025, allocations: 0 / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.8026, allocations: 162.2 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8026, allocations: 0 / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.8027, allocations: 20.39 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8027, allocations: 0 / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.8027, allocations: 1.188 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8027, allocations: 0 / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8027, allocations: 1.188 kB / 0.957 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.8029, allocations: 180.7 kB / 0.9572 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.8029, allocations: 77.11 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.803, allocations: 1.375 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.803, allocations: 9.516 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.8031, allocations: 2 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.8031, allocations: 0 / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.8031, allocations: 90.75 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8031, allocations: 0 / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.8033, allocations: 8.359 kB / 0.9574 GB, free: 4.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.000399/0.8037, allocations: 0.7045 MB / 0.9581 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.804, allocations: 42.59 kB / 0.9581 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.804, allocations: 4.094 kB / 0.9581 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.8041, allocations: 28.08 kB / 0.9582 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.8043, allocations: 6.859 kB / 0.9582 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.8047, allocations: 130.4 kB / 0.9583 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.8048, allocations: 0.6825 MB / 0.959 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.8049, allocations: 0 / 0.959 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.8049, allocations: 8.938 kB / 0.959 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8049, allocations: 0 / 0.959 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.8155, allocations: 1.003 MB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.8157, allocations: 181.4 kB / 0.9601 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.439, allocations: 0 / 0.9601 GB, free: 2.246 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat