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.001427/0.001427, allocations: 103.3 kB / 16.27 MB, free: 6.016 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.001585/0.001585, allocations: 189 kB / 17.19 MB, free: 5.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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.03 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.268/2.268, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 66.39 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002255/0.2682, allocations: 0.7039 MB / 0.951 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.2692, allocations: 0.8001 MB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.2692, allocations: 4 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.902e-05/0.2693, allocations: 3.938 kB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.2694, allocations: 7.922 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.296e-05/0.2695, allocations: 15.97 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.201e-05/0.2696, allocations: 43.86 kB / 0.9518 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2697, allocations: 8 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.2698, allocations: 15.92 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.2698, allocations: 31.91 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2698, allocations: 4 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.2698, allocations: 4 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.2699, allocations: 7.938 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2699, allocations: 15.92 kB / 0.9519 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.27, allocations: 35.86 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.27, allocations: 4 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.27, allocations: 0 / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.27, allocations: 0 / 0.952 GB, free: 7.168 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.0005433/0.2706, allocations: 367.6 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2706, allocations: 11.97 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2707, allocations: 4.938 kB / 0.9523 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2708, allocations: 172.2 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2708, allocations: 384 / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2708, allocations: 4.375 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.2711, allocations: 72.27 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2711, allocations: 4.188 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2711, allocations: 3.938 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2711, allocations: 4 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.2714, allocations: 59.92 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.2718, allocations: 265 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.272, allocations: 58.42 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2722, allocations: 52.84 kB / 0.953 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2722, allocations: 0 / 0.953 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.2722, allocations: 30.56 kB / 0.953 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2722, allocations: 4 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005255/0.2728, allocations: 129.5 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2728, allocations: 51.41 kB / 0.9532 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.2729, allocations: 113.8 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2729, allocations: 29.7 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.273, allocations: 80.14 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.273, allocations: 15.84 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2731, allocations: 13.7 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2732, allocations: 318.8 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2733, allocations: 27.97 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2735, allocations: 40.14 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.2737, allocations: 68.86 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2737, allocations: 3.938 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003173/0.2741, allocations: 101.5 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2741, allocations: 4 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2741, allocations: 0 / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2741, allocations: 4 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2743, allocations: 19.92 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2743, allocations: 0 / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.2744, allocations: 11.98 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.2744, allocations: 3.984 kB / 0.954 GB, free: 4.836 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.73e-05/0.2745, allocations: 129.2 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2745, allocations: 0 / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.2745, allocations: 7.906 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2745, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2745, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2745, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.2747, allocations: 177.5 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2747, allocations: 3.984 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.2748, allocations: 15.98 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2748, allocations: 4 kB / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2748, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2749, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2749, allocations: 0 / 0.9543 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.2752, allocations: 195.4 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.2753, allocations: 89.03 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2753, allocations: 4 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2754, allocations: 7.984 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2754, allocations: 8 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.2755, allocations: 3.938 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.2755, allocations: 87.27 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002361/0.2758, allocations: 8 kB / 0.9547 GB, free: 4.016 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.0001435/0.2759, allocations: 103.2 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.2763, allocations: 71.92 kB / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2763, allocations: 0 / 0.9549 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2764, allocations: 39.89 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2767, allocations: 17.14 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.2771, allocations: 155 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2774, allocations: 0.6805 MB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.2774, allocations: 11.44 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2774, allocations: 0 / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of Templates: time 0.002021/0.2794, allocations: 0.7466 MB / 0.9565 GB, free: 2.145 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