Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009897/0.0009897, 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.0008557/0.0008557, allocations: 165.9 kB / 22.45 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.8628/0.8628, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.68/1.68, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.133e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001922/0.001944, allocations: 0.8182 MB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003223, allocations: 1.193 MB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.003307, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.003434, allocations: 15.86 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.003556, allocations: 15.86 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.003997, allocations: 154.5 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.004343, allocations: 355.3 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.004528, allocations: 62.91 kB / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.004732, allocations: 203.7 kB / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.00496, allocations: 151.8 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.005012, allocations: 32 kB / 0.9839 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.005119, allocations: 43.98 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.005193, allocations: 43.84 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.005316, allocations: 115.8 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.005728, allocations: 446.9 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005731, allocations: 4 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005733, allocations: 0 / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.00574, allocations: 0 / 0.9845 GB, free: 14.99 MB / 0.948 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.0008308/0.00657, allocations: 0.5103 MB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.006615, allocations: 8.031 kB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.006658, allocations: 50.73 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.006724, allocations: 28.8 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.007053, allocations: 234.1 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.007089, allocations: 12.38 kB / 0.9853 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.00713, allocations: 32.36 kB / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.007385, allocations: 178.1 kB / 0.9855 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.007401, allocations: 8.125 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.007418, allocations: 384 / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.007429, allocations: 8.125 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.007611, allocations: 143.9 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.008392, allocations: 0.5697 MB / 0.9862 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.008568, allocations: 122.4 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.00864, allocations: 68.81 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.008667, allocations: 11.98 kB / 0.9864 GB, free: 12.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.008872, allocations: 175.1 kB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.008874, allocations: 0 / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0004154/0.009289, allocations: 300.2 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.009338, allocations: 59.39 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.009491, allocations: 195.2 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.009528, allocations: 41.69 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.00962, allocations: 128.5 kB / 0.9873 GB, free: 11.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.009648, allocations: 39.69 kB / 0.9873 GB, free: 11.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.009756, allocations: 81.67 kB / 0.9874 GB, free: 11.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.009862, allocations: 334.8 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.01018, allocations: 324.8 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.01065, allocations: 383.7 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.01096, allocations: 391.6 kB / 0.9887 GB, free: 10.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01096, allocations: 0 / 0.9887 GB, free: 10.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006328/0.0116, allocations: 0.7359 MB / 0.9895 GB, free: 9.523 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.01166, allocations: 101 kB / 0.9896 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01166, allocations: 4 kB / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01168, allocations: 0 / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.01178, allocations: 19.92 kB / 0.9896 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01178, allocations: 4 kB / 0.9896 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.01205, allocations: 112 kB / 0.9897 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.01208, allocations: 19.98 kB / 0.9897 GB, free: 9.25 MB / 0.948 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.0001263/0.01221, allocations: 161.8 kB / 0.9899 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.01223, allocations: 19.84 kB / 0.9899 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.01249, allocations: 235.3 kB / 0.9901 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.0125, allocations: 4 kB / 0.9901 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.0125, allocations: 0 / 0.9901 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01251, allocations: 3.984 kB / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01268, allocations: 236.5 kB / 0.9903 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01269, allocations: 0 / 0.9903 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.01274, allocations: 15.92 kB / 0.9904 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01274, allocations: 3.938 kB / 0.9904 GB, free: 8.527 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01275, allocations: 8 kB / 0.9904 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01275, allocations: 0 / 0.9904 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01276, allocations: 0 / 0.9904 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.01297, allocations: 248.8 kB / 0.9906 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.01299, allocations: 19.84 kB / 0.9906 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.013, allocations: 7.938 kB / 0.9906 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.85e-05/0.01303, allocations: 7.984 kB / 0.9906 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.01308, allocations: 15.97 kB / 0.9907 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01309, allocations: 12 kB / 0.9907 GB, free: 8.195 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.01316, allocations: 127.2 kB / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01316, allocations: 0 / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002064/0.01336, allocations: 67.95 kB / 0.9908 GB, free: 8.004 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: 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.0004796/0.01384, allocations: 0.7988 MB / 0.9916 GB, free: 7.176 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.01436, allocations: 0.6263 MB / 0.9922 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01436, allocations: 0 / 0.9922 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.01445, allocations: 87.88 kB / 0.9923 GB, free: 6.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01467, allocations: 36.39 kB / 0.9924 GB, free: 6.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.01755, allocations: 3.566 MB / 0.9958 GB, free: 2.594 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.01765, allocations: 140.1 kB / 0.996 GB, free: 2.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.404e-05/0.01771, allocations: 29.48 kB / 0.996 GB, free: 2.406 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.01778, allocations: 52.47 kB / 0.9961 GB, free: 2.355 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.01778, allocations: 0 / 0.9961 GB, free: 2.355 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.0391, allocations: 6.688 MB / 1.003 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/6.654, allocations: 17.08 kB / 1.003 GB, free: 11.88 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conCom.y1[1] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.724650003947318]