Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007521/0.007521, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.002066/0.002066, allocations: 190.5 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 71.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6749, allocations: 140.3 MB / 0.9496 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001751/0.6767, allocations: 0.7241 MB / 0.9503 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.6769, allocations: 10.73 kB / 0.9503 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.6769, allocations: 0 / 0.9503 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.851e-05/0.677, allocations: 7.938 kB / 0.9503 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.6771, allocations: 1.375 kB / 0.9503 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.967e-05/0.6771, allocations: 1.375 kB / 0.9503 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.508e-05/0.6772, allocations: 26.92 kB / 0.9503 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.6773, allocations: 36.47 kB / 0.9504 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.6774, allocations: 8.062 kB / 0.9504 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.6774, allocations: 16.05 kB / 0.9504 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.6774, allocations: 2.75 kB / 0.9504 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.6774, allocations: 1.375 kB / 0.9504 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.6775, allocations: 12.06 kB / 0.9504 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.6775, allocations: 16 kB / 0.9504 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.759e-05/0.6776, allocations: 34.94 kB / 0.9505 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6776, allocations: 0 / 0.9505 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6776, allocations: 0 / 0.9505 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6776, allocations: 0 / 0.9505 GB, free: 8.734 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002652/0.6779, allocations: 353.7 kB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.6779, allocations: 9.062 kB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.6779, allocations: 3.312 kB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6781, allocations: 192.2 kB / 0.951 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6781, allocations: 2.344 kB / 0.951 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.6781, allocations: 15.28 kB / 0.951 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6783, allocations: 76.39 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6783, allocations: 192 / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6783, allocations: 9.016 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6783, allocations: 1.219 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.6784, allocations: 53 kB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.6788, allocations: 484 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.6789, allocations: 170.6 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.6789, allocations: 84.12 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.6789, allocations: 75.28 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.6789, allocations: 111 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6789, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.72e-05/0.679, allocations: 33.23 kB / 0.9521 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.679, allocations: 130.7 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.6792, allocations: 174.3 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.6792, allocations: 26.98 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.6793, allocations: 94.66 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.6793, allocations: 1.219 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6793, allocations: 20.5 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.6794, allocations: 316.3 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.6794, allocations: 12.19 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.6794, allocations: 8.641 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.6794, allocations: 18.61 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6794, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001063/0.6796, allocations: 51.17 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6796, allocations: 5.141 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6796, allocations: 5.375 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6796, allocations: 0 / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.6797, allocations: 3.156 kB / 0.9529 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6797, allocations: 8.031 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.6797, allocations: 7.656 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.6797, allocations: 1.344 kB / 0.9529 GB, free: 6.246 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 (1): * Single equations (assignments): 1 * 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 6.247e-05/0.6798, allocations: 194.8 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.6798, allocations: 109.6 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.6799, allocations: 116.3 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6799, allocations: 184.2 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.6799, allocations: 181.7 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/0.68, allocations: 188.3 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.6801, allocations: 417.7 kB / 0.9542 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6801, allocations: 106.1 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.6802, allocations: 111.7 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.321e-05/0.6802, allocations: 181.6 kB / 0.9546 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.6802, allocations: 177.8 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-05/0.6802, allocations: 180.2 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.471e-05/0.6803, allocations: 181.4 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.105e-05/0.6804, allocations: 317.6 kB / 0.9554 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.6804, allocations: 185.8 kB / 0.9556 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.6805, allocations: 189.3 kB / 0.9558 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.6805, allocations: 102.2 kB / 0.9559 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.6806, allocations: 189.3 kB / 0.9561 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.6806, allocations: 102.5 kB / 0.9562 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.6807, allocations: 136.5 kB / 0.9563 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6807, allocations: 0 / 0.9563 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002127/0.6809, allocations: 5.125 kB / 0.9563 GB, free: 2.621 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 (0): * Single equations (assignments): 0 * 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.0001289/0.681, allocations: 172.9 kB / 0.9565 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.634e-05/0.6811, allocations: 13.11 kB / 0.9565 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6811, allocations: 1 kB / 0.9565 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.6811, allocations: 0 / 0.9565 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.6815, allocations: 0.5294 MB / 0.957 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.6817, allocations: 253.4 kB / 0.9572 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.6819, allocations: 0.6936 MB / 0.9579 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.6819, allocations: 9.812 kB / 0.9579 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6819, allocations: 0 / 0.9579 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.001997/0.6839, allocations: 0.7652 MB / 0.9587 GB, free: 0.5742 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches