Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9192/0.9192, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.711/1.711, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.076e-05, allocations: 4.953 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001325/0.001346, allocations: 0.6755 MB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.002078, allocations: 0.8393 MB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.002105, allocations: 0 / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.00213, allocations: 3.938 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.002181, allocations: 3.938 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.002359, allocations: 23.91 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.002419, allocations: 23.94 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.002502, allocations: 3.984 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.00256, allocations: 8 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.002595, allocations: 19.86 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.002609, allocations: 4 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.002649, allocations: 4 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.002662, allocations: 3.984 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.002679, allocations: 11.98 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.00277, allocations: 19.97 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002771, allocations: 3.938 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002772, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002776, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 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.0003147/0.003091, allocations: 262.3 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.003127, allocations: 12.03 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.003154, allocations: 30.75 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.003211, allocations: 8.875 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.148e-05/0.003283, allocations: 105.8 kB / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003293, allocations: 4.375 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.003307, allocations: 384 / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.003426, allocations: 54.23 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003433, allocations: 4.172 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.00344, allocations: 384 / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.003447, allocations: 8.125 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.00353, allocations: 31.91 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.003782, allocations: 212.1 kB / 0.9833 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.003866, allocations: 34.56 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.003911, allocations: 32.89 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.003927, allocations: 0 / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.003946, allocations: 38.44 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003946, allocations: 3.938 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002001/0.004147, allocations: 77.64 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.004173, allocations: 51.41 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.004225, allocations: 102 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004234, allocations: 29.7 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.00427, allocations: 88.09 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.004285, allocations: 7.938 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.004308, allocations: 13.72 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.004374, allocations: 314.8 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.004412, allocations: 15.98 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.004445, allocations: 11.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.004589, allocations: 52.81 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004591, allocations: 0 / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.488e-05/0.004686, allocations: 65.59 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.004698, allocations: 8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004703, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.004713, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.004766, allocations: 4 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.004771, allocations: 12.02 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.004792, allocations: 4 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.004796, allocations: 0 / 0.9843 GB, free: 14.98 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.004842, allocations: 105.8 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.004855, allocations: 7.938 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.004977, allocations: 76.89 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.004979, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.004983, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004986, allocations: 4.031 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.005083, allocations: 136.7 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005084, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.005106, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005108, allocations: 3.938 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.005114, allocations: 0 / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005115, allocations: 4 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.005117, allocations: 3.984 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.005242, allocations: 167.4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.005249, allocations: 7.922 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.005259, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.005295, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.005327, allocations: 7.984 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.005329, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.005352, allocations: 79.28 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005352, allocations: 0 / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001427/0.005494, allocations: 11.94 kB / 0.9849 GB, free: 14.3 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002872/0.005782, allocations: 0.6893 MB / 0.9855 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.005901, allocations: 43.89 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005902, allocations: 0 / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.005942, allocations: 19.98 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.006141, allocations: 4.156 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.006449, allocations: 142.5 kB / 0.9857 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.006487, allocations: 59.3 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.006503, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.006538, allocations: 16.48 kB / 0.9858 GB, free: 13.24 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/0.006538, allocations: 0 / 0.9858 GB, free: 13.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.01908, allocations: 1.943 MB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.8, allocations: 6.438 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.799462384544313]