Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001119/0.001119, allocations: 195 kB / 16.91 MB, free: 6.188 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002208/0.2699, allocations: 0.7669 MB / 0.9505 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.2709, allocations: 0.804 MB / 0.9513 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.271, allocations: 0 / 0.9513 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.2711, allocations: 0 / 0.9513 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/0.2712, allocations: 15.92 kB / 0.9513 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.129e-05/0.2713, allocations: 11.98 kB / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.357e-05/0.2713, allocations: 35.92 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2715, allocations: 11.98 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.2716, allocations: 19.92 kB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.2716, allocations: 23.86 kB / 0.9514 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2716, allocations: 4 kB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2716, allocations: 4 kB / 0.9514 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.2717, allocations: 19.86 kB / 0.9515 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.2717, allocations: 11.94 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.2718, allocations: 31.92 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2718, allocations: 4 kB / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2718, allocations: 0 / 0.9515 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2718, allocations: 0 / 0.9515 GB, free: 7.426 MB / 0.7325 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.0005214/0.2723, allocations: 359.6 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2724, allocations: 8.031 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2724, allocations: 8.938 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2726, allocations: 172.2 kB / 0.952 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2726, allocations: 4.375 kB / 0.952 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.2726, allocations: 384 / 0.952 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.2729, allocations: 66.22 kB / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2729, allocations: 4.188 kB / 0.9521 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2729, allocations: 7.875 kB / 0.9521 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2729, allocations: 0 / 0.9521 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2732, allocations: 71.86 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.2736, allocations: 261 kB / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.2739, allocations: 62.48 kB / 0.9525 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.274, allocations: 44.89 kB / 0.9525 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.274, allocations: 0 / 0.9525 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.2741, allocations: 38.5 kB / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2741, allocations: 0 / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005397/0.2746, allocations: 137.5 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2747, allocations: 51.41 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.2748, allocations: 105.8 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2748, allocations: 25.7 kB / 0.9529 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2749, allocations: 88.14 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.2749, allocations: 3.906 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.2749, allocations: 25.7 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2751, allocations: 310.8 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.2752, allocations: 27.97 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.2754, allocations: 35.95 kB / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.2756, allocations: 72.72 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2756, allocations: 3.938 kB / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.2759, allocations: 97.53 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.276, allocations: 8 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.276, allocations: 0 / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.276, allocations: 8 kB / 0.9535 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2762, allocations: 11.98 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2762, allocations: 4 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.2763, allocations: 7.984 kB / 0.9536 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2763, allocations: 11.92 kB / 0.9536 GB, free: 5.098 MB / 0.7325 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 8.971e-05/0.2764, allocations: 120.8 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.2764, allocations: 4 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2764, allocations: 11.91 kB / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2764, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2765, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2765, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2767, allocations: 173.5 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2767, allocations: 3.938 kB / 0.9539 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.2768, allocations: 19.98 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2768, allocations: 0 / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2768, allocations: 0 / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2768, allocations: 0 / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2768, allocations: 4 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.2772, allocations: 187.4 kB / 0.9541 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.2772, allocations: 89.41 kB / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2773, allocations: 0 / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2774, allocations: 19.98 kB / 0.9542 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2774, allocations: 3.938 kB / 0.9542 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2774, allocations: 0 / 0.9542 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.2775, allocations: 91.27 kB / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2775, allocations: 0 / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002165/0.2777, allocations: 8 kB / 0.9543 GB, free: 4.281 MB / 0.7325 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.0001629/0.2779, allocations: 99.23 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.2782, allocations: 71.92 kB / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2782, allocations: 0 / 0.9544 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2784, allocations: 35.95 kB / 0.9545 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2787, allocations: 15.88 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.2792, allocations: 171.2 kB / 0.9546 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2795, allocations: 0.6844 MB / 0.9553 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.2796, allocations: 7.438 kB / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.2796, allocations: 0 / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.00233/0.2819, allocations: 0.7451 MB / 0.956 GB, free: 2.398 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches