Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00146/0.00146, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.242/2.242, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.91 kB / 0.8132 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002174/0.2781, allocations: 0.5762 MB / 0.9509 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.59e-05/0.2781, allocations: 8 kB / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.2782, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.2782, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.2783, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.296e-05/0.2783, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.2784, allocations: 0 / 0.9509 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.413e-05/0.2784, allocations: 7.984 kB / 0.9509 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.2785, allocations: 11.86 kB / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.767e-05/0.2785, allocations: 0 / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2785, allocations: 4 kB / 0.9509 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.037e-06/0.2785, allocations: 0 / 0.9509 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.2785, allocations: 0 / 0.9509 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.2785, allocations: 4 kB / 0.9509 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.588e-05/0.2786, allocations: 7.938 kB / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2786, allocations: 0 / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2786, allocations: 0 / 0.9509 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2786, allocations: 0 / 0.9509 GB, free: 8.219 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003207/0.279, allocations: 315.5 kB / 0.9512 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.279, allocations: 11.97 kB / 0.9512 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.279, allocations: 4.938 kB / 0.9512 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2792, allocations: 160.4 kB / 0.9514 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2792, allocations: 384 / 0.9514 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.2792, allocations: 8.375 kB / 0.9514 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.2793, allocations: 26.27 kB / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2793, allocations: 192 / 0.9514 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2793, allocations: 3.938 kB / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2793, allocations: 0 / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.2793, allocations: 4 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.2797, allocations: 391.5 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.2798, allocations: 173.1 kB / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.2798, allocations: 80.14 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.2799, allocations: 75.28 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.2799, allocations: 113.8 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2799, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.233e-05/0.28, allocations: 37.64 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2801, allocations: 126.7 kB / 0.9524 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.2802, allocations: 93.86 kB / 0.9525 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2802, allocations: 25.7 kB / 0.9525 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2802, allocations: 80.14 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.2802, allocations: 4.125 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.2803, allocations: 9.719 kB / 0.9526 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2804, allocations: 318.8 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-06/0.2804, allocations: 0 / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.2804, allocations: 4 kB / 0.9529 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.2805, allocations: 75.28 kB / 0.9529 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/0.2805, allocations: 75.28 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.248e-05/0.2806, allocations: 35.69 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.2806, allocations: 87.28 kB / 0.9531 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.2806, allocations: 75.28 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.879e-05/0.2807, allocations: 158.4 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.53e-05/0.2807, allocations: 75.28 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.847e-05/0.2808, allocations: 158.5 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.2809, allocations: 83.22 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2809, allocations: 79.28 kB / 0.9537 GB, free: 5.078 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 (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 prepare postOptimizeDAE: time 0.0001233/0.2811, allocations: 266.2 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.2811, allocations: 108.9 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.2812, allocations: 107.9 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-05/0.2813, allocations: 180.2 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.2814, allocations: 192.2 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/0.2814, allocations: 176.3 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.2817, allocations: 409.1 kB / 0.9551 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/0.2817, allocations: 101 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.2818, allocations: 109 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.988e-05/0.2819, allocations: 180.2 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.2819, allocations: 180.3 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.788e-05/0.282, allocations: 180.5 kB / 0.9558 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-05/0.2821, allocations: 184.2 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.2823, allocations: 311.7 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.2824, allocations: 182.1 kB / 0.9565 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.2824, allocations: 184.2 kB / 0.9566 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.2825, allocations: 101 kB / 0.9567 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.2826, allocations: 188.2 kB / 0.9569 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.2827, allocations: 109 kB / 0.957 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.2827, allocations: 75.28 kB / 0.9571 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2827, allocations: 8.094 kB / 0.9571 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002695/0.283, allocations: 0 / 0.9571 GB, free: 1.398 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 (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.0001745/0.2832, allocations: 174.5 kB / 0.9573 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.032e-05/0.2832, allocations: 4 kB / 0.9573 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2832, allocations: 0 / 0.9573 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-06/0.2832, allocations: 3.938 kB / 0.9573 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2836, allocations: 463.6 kB / 0.9577 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.2839, allocations: 182 kB / 0.9579 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2842, allocations: 0.6805 MB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.2842, allocations: 7.438 kB / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.2842, allocations: 0 / 0.9586 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.001678/0.2859, allocations: 319.8 kB / 0.9589 GB, free: 15.52 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches