Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008454, allocations: 91.45 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.293 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.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004009, allocations: 20 kB / 0.8167 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7711, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0008839/0.772, allocations: 444.3 kB / 0.9561 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.7729, allocations: 0.8015 MB / 0.9569 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.7729, allocations: 1.094 kB / 0.9569 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.773, allocations: 4 kB / 0.9569 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.773, allocations: 5.031 kB / 0.9569 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.751e-05/0.7731, allocations: 13.27 kB / 0.957 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.7732, allocations: 37.89 kB / 0.957 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.7733, allocations: 8.359 kB / 0.957 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.7734, allocations: 17.72 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.7735, allocations: 21.03 kB / 0.957 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.7735, allocations: 1.906 kB / 0.957 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.7735, allocations: 6.125 kB / 0.957 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.7735, allocations: 8.859 kB / 0.9571 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.7736, allocations: 40.91 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.186e-05/0.7737, allocations: 25.72 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7737, allocations: 0 / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7737, allocations: 0 / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7737, allocations: 1.188 kB / 0.9571 GB, free: 6.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004573/0.7741, allocations: 372.4 kB / 0.9575 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7742, allocations: 13.94 kB / 0.9575 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.7742, allocations: 6.406 kB / 0.9575 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.7743, allocations: 171 kB / 0.9577 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7743, allocations: 1.938 kB / 0.9577 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.7744, allocations: 1.375 kB / 0.9577 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.7746, allocations: 80.97 kB / 0.9577 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7746, allocations: 5.562 kB / 0.9577 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7747, allocations: 7.922 kB / 0.9577 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7747, allocations: 0 / 0.9577 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.775, allocations: 86.8 kB / 0.9578 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.7753, allocations: 271.3 kB / 0.9581 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.7755, allocations: 66.08 kB / 0.9582 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.7757, allocations: 61.81 kB / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7757, allocations: 0 / 0.9582 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.7757, allocations: 31.5 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.7758, allocations: 0.9688 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005823/0.7763, allocations: 163.6 kB / 0.9584 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.7764, allocations: 51.41 kB / 0.9584 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.7765, allocations: 116 kB / 0.9586 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.7765, allocations: 25.7 kB / 0.9586 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.7765, allocations: 86.27 kB / 0.9587 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.7765, allocations: 12.81 kB / 0.9587 GB, free: 5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.7766, allocations: 10.88 kB / 0.9587 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.7766, allocations: 320.2 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.7768, allocations: 43.41 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.7769, allocations: 47.73 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.7772, allocations: 90.88 kB / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7772, allocations: 3.938 kB / 0.9592 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003263/0.7776, allocations: 117.3 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7776, allocations: 5 kB / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7776, allocations: 0 / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7776, allocations: 0 / 0.9593 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.7778, allocations: 27.95 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.7778, allocations: 0 / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.7779, allocations: 20.02 kB / 0.9593 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.7779, allocations: 4.891 kB / 0.9593 GB, free: 4.5 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 (3): * Single equations (assignments): 3 * 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 5.933e-05/0.778, allocations: 111.8 kB / 0.9594 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.778, allocations: 6.188 kB / 0.9594 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.7784, allocations: 131.6 kB / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7784, allocations: 1.125 kB / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7784, allocations: 0 / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7784, allocations: 1.281 kB / 0.9596 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.7785, allocations: 172.2 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7786, allocations: 1.5 kB / 0.9597 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7787, allocations: 22.34 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.7787, allocations: 1.562 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7787, allocations: 4 kB / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7787, allocations: 1.219 kB / 0.9598 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7787, allocations: 7.875 kB / 0.9598 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.7791, allocations: 223.7 kB / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.7791, allocations: 82.22 kB / 0.9601 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7791, allocations: 1.062 kB / 0.9601 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.7792, allocations: 18.8 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.7793, allocations: 2.219 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.7793, allocations: 9.078 kB / 0.9601 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.7793, allocations: 82.25 kB / 0.9602 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7793, allocations: 0 / 0.9602 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002162/0.7795, allocations: 6.25 kB / 0.9602 GB, free: 3.703 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 (3): * Single equations (assignments): 3 * 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.0001316/0.7797, allocations: 103 kB / 0.9603 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.78, allocations: 93.7 kB / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7801, allocations: 0 / 0.9604 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.7802, allocations: 51.2 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.7805, allocations: 7.594 kB / 0.9604 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.7808, allocations: 161 kB / 0.9606 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.781, allocations: 0.6832 MB / 0.9612 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.781, allocations: 10.69 kB / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.781, allocations: 0 / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.00196/0.783, allocations: 0.7301 MB / 0.962 GB, free: 2.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches