Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.000819/0.000819, 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.0008324/0.0008324, 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.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.287e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001475/0.001498, allocations: 0.8035 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.002673, allocations: 1.197 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.002727, allocations: 7.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.00282, allocations: 11.88 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.002905, allocations: 23.84 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.003266, allocations: 142.6 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.003552, allocations: 355.3 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003684, allocations: 62.91 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.003842, allocations: 203.7 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.004004, allocations: 147.8 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.004042, allocations: 36 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.004109, allocations: 47.98 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.004157, allocations: 47.84 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.004245, allocations: 107.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.004553, allocations: 450.9 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004555, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004556, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.00456, allocations: 0 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00054/0.005099, allocations: 0.5141 MB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005134, allocations: 12.75 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.005168, allocations: 50.73 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.005223, allocations: 24.84 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.005474, allocations: 234.1 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.005507, allocations: 20.36 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.005545, allocations: 20.38 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.005766, allocations: 182.1 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005774, allocations: 192 / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.005787, allocations: 4.375 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.005795, allocations: 8.125 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.005955, allocations: 151.8 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.006584, allocations: 0.5697 MB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.006735, allocations: 118.5 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.006808, allocations: 76.92 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.006826, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.007002, allocations: 181.4 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.007003, allocations: 3.938 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003728/0.007376, allocations: 297.3 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.007413, allocations: 59.39 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.007543, allocations: 203.7 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.007577, allocations: 37.7 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.007658, allocations: 128.5 kB / 1.006 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.007687, allocations: 43.64 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.902e-05/0.007786, allocations: 81.67 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.00787, allocations: 334.8 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.00815, allocations: 324.9 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.008438, allocations: 378 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.008753, allocations: 395.7 kB / 1.007 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008755, allocations: 0 / 1.007 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006282/0.009384, allocations: 0.7279 MB / 1.008 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.009433, allocations: 101 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.00944, allocations: 4.219 kB / 1.008 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.009451, allocations: 4 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.009529, allocations: 15.98 kB / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.009535, allocations: 7.938 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.009802, allocations: 107.8 kB / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.009829, allocations: 15.98 kB / 1.008 GB, free: 4.164 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001192/0.009948, allocations: 169.8 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.009965, allocations: 15.84 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.01023, allocations: 242 kB / 1.009 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.01023, allocations: 0 / 1.009 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.01024, allocations: 4 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01025, allocations: 3.984 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.01042, allocations: 224.7 kB / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01042, allocations: 0 / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.01046, allocations: 8 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01046, allocations: 7.938 kB / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01047, allocations: 7.984 kB / 1.009 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01048, allocations: 0 / 1.009 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01048, allocations: 0 / 1.009 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.0107, allocations: 248.8 kB / 1.009 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01071, allocations: 11.91 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01073, allocations: 11.92 kB / 1.009 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.01075, allocations: 4 kB / 1.009 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.0108, allocations: 23.95 kB / 1.009 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01081, allocations: 8 kB / 1.009 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.01088, allocations: 135.2 kB / 1.009 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01088, allocations: 4 kB / 1.009 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000213/0.01109, allocations: 75.83 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004868/0.01158, allocations: 0.7974 MB / 1.01 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005/0.01208, allocations: 0.6199 MB / 1.011 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01208, allocations: 0 / 1.011 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.01216, allocations: 88.36 kB / 1.011 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01235, allocations: 35.97 kB / 1.011 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.01515, allocations: 3.572 MB / 1.015 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.01524, allocations: 144.1 kB / 1.015 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.01529, allocations: 25.48 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.01535, allocations: 52.47 kB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of SimCode: time 8.22e-07/0.01536, allocations: 0 / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.03373, allocations: 6.686 MB / 1.021 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/6.562, allocations: 0 / 1.021 GB, free: 6.777 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.510018789209425]