Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_latest_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.0009167/0.0009168, allocations: 92 kB / 15.06 MB, free: 1.098 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.00127/0.00127, allocations: 172.7 kB / 15.95 MB, free: 208 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.453/1.453, 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 10.0.0-master/package.mo): time 2.724/2.724, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004637, allocations: 12 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8209, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0009966/0.822, allocations: 394.4 kB / 0.9815 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.8231, allocations: 0.8063 MB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.8232, allocations: 0 / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.8232, allocations: 0 / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.8233, allocations: 3.984 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.8235, allocations: 11.98 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.8236, allocations: 19.94 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.8237, allocations: 3.984 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.8237, allocations: 7.938 kB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.8238, allocations: 11.98 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8238, allocations: 4 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.8238, allocations: 0 / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.8239, allocations: 7.938 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.8239, allocations: 25.7 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.326e-05/0.824, allocations: 19.95 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.824, allocations: 0 / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.001e-06/0.824, allocations: 0 / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.824, allocations: 3.938 kB / 0.9824 GB, free: 4.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005466/0.8246, allocations: 341.6 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/0.8246, allocations: 8.031 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.8248, allocations: 38.5 kB / 0.9828 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.8248, allocations: 0 / 0.9828 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.825, allocations: 167.1 kB / 0.983 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.825, allocations: 4 kB / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.825, allocations: 0 / 0.983 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.8253, allocations: 65.56 kB / 0.983 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.8253, allocations: 0 / 0.983 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.8253, allocations: 0 / 0.983 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.8254, allocations: 0 / 0.983 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.8255, allocations: 39.97 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.8259, allocations: 248.8 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.8261, allocations: 50.55 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.8263, allocations: 28.84 kB / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.8263, allocations: 0 / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.8263, allocations: 38.56 kB / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8264, allocations: 0 / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003416/0.8267, allocations: 93.64 kB / 0.9835 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.8267, allocations: 51.41 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.8269, allocations: 101.8 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.8269, allocations: 25.7 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.8269, allocations: 88.08 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.827, allocations: 7.906 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.827, allocations: 4.125 kB / 0.9838 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.8272, allocations: 310.8 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.8273, allocations: 31.91 kB / 0.9841 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.8274, allocations: 15.98 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/0.8274, allocations: 28.05 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8274, allocations: 0 / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.8276, allocations: 77.61 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8277, allocations: 8.031 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8277, allocations: 0 / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.8277, allocations: 4 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.8278, allocations: 11.98 kB / 0.9842 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8278, allocations: 3.938 kB / 0.9842 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.8278, allocations: 4 kB / 0.9843 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.8279, allocations: 8 kB / 0.9843 GB, free: 2.816 MB / 0.7325 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 7.285e-05/0.8279, allocations: 113.8 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.828, allocations: 3.953 kB / 0.9844 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.8283, allocations: 84.91 kB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8283, allocations: 3.984 kB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8283, allocations: 4.031 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8283, allocations: 0 / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.8285, allocations: 165.5 kB / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8285, allocations: 0 / 0.9846 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.8285, allocations: 11.98 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8286, allocations: 0 / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.8286, allocations: 3.953 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.8286, allocations: 0 / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8286, allocations: 0 / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.8289, allocations: 179.5 kB / 0.9848 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.829, allocations: 77.11 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.829, allocations: 3.984 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.8291, allocations: 11.98 kB / 0.9849 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.8291, allocations: 7.984 kB / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.8291, allocations: 0 / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.8292, allocations: 83.28 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8292, allocations: 0 / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002129/0.8294, allocations: 4 kB / 0.985 GB, free: 1.977 MB / 0.7325 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.0006342/0.83, allocations: 0.7046 MB / 0.9857 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.8302, allocations: 47.98 kB / 0.9857 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8302, allocations: 4 kB / 0.9857 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.8303, allocations: 19.98 kB / 0.9857 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.8306, allocations: 12.08 kB / 0.9858 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.8311, allocations: 148.2 kB / 0.9859 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8314, allocations: 0.677 MB / 0.9866 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.8314, allocations: 0 / 0.9866 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.8315, allocations: 7.438 kB / 0.9866 GB, free: 268 kB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8315, allocations: 3.938 kB / 0.9866 GB, free: 264 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.8434, allocations: 1.025 MB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.8436, allocations: 186.2 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.625, allocations: 3.938 kB / 0.9877 GB, free: 15.13 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat does not exist to compare? outputFormat=mat