Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008824/0.0008823, allocations: 86.95 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.418 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.605/2.605, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 11.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8282, allocations: 142.4 MB / 0.9545 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007629/0.829, allocations: 275.1 kB / 0.9547 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.036e-05/0.8291, allocations: 3.984 kB / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.8291, allocations: 1.406 kB / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.8291, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.8292, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.8292, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.8293, allocations: 5.438 kB / 0.9547 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.8293, allocations: 5.438 kB / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.8294, allocations: 0 / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.8294, allocations: 1.469 kB / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.8294, allocations: 0 / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.8294, allocations: 0 / 0.9547 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-06/0.8294, allocations: 4 kB / 0.9547 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.8294, allocations: 27.17 kB / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.057e-05/0.8295, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8295, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8295, allocations: 1.469 kB / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8295, allocations: 0 / 0.9548 GB, free: 7.457 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002395/0.8298, allocations: 316.5 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8298, allocations: 10.34 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.8299, allocations: 3.953 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.8299, allocations: 164.3 kB / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.83, allocations: 0 / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.83, allocations: 1 kB / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.8301, allocations: 30.48 kB / 0.9553 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.8301, allocations: 0.9688 kB / 0.9553 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.8301, allocations: 11.98 kB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8301, allocations: 0 / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.8301, allocations: 6.797 kB / 0.9553 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.8304, allocations: 381.4 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.8305, allocations: 170.2 kB / 0.9558 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.8305, allocations: 85.11 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.8305, allocations: 75.28 kB / 0.956 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8305, allocations: 110.7 kB / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.8305, allocations: 0 / 0.9561 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.194e-05/0.8306, allocations: 31.12 kB / 0.9561 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.8306, allocations: 128.2 kB / 0.9562 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.8307, allocations: 104.5 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.8307, allocations: 25.7 kB / 0.9563 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.975e-05/0.8307, allocations: 84.69 kB / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.8307, allocations: 0 / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-07/0.8307, allocations: 0 / 0.9564 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/0.8308, allocations: 311.9 kB / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.8308, allocations: 0 / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-06/0.8308, allocations: 1.219 kB / 0.9567 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.393e-05/0.8308, allocations: 75.28 kB / 0.9568 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.8309, allocations: 79.41 kB / 0.9569 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.924e-05/0.8309, allocations: 28.98 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.8309, allocations: 84.62 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.831, allocations: 83.22 kB / 0.9571 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.831, allocations: 152.1 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.44e-05/0.831, allocations: 84.22 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.831, allocations: 155.6 kB / 0.9574 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.8311, allocations: 80.38 kB / 0.9575 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.8311, allocations: 83.25 kB / 0.9576 GB, free: 4.375 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.8312, allocations: 262.8 kB / 0.9578 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.8312, allocations: 101.9 kB / 0.9579 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.8313, allocations: 116.9 kB / 0.9581 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.8313, allocations: 181.4 kB / 0.9582 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/0.8313, allocations: 181.4 kB / 0.9584 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.8314, allocations: 181.5 kB / 0.9586 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.8315, allocations: 403.4 kB / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.8315, allocations: 105.9 kB / 0.9591 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.8316, allocations: 106.5 kB / 0.9592 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.536e-05/0.8316, allocations: 180.3 kB / 0.9593 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.8316, allocations: 181.6 kB / 0.9595 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/0.8317, allocations: 185.7 kB / 0.9597 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.959e-05/0.8317, allocations: 181.5 kB / 0.9599 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/0.8318, allocations: 310.5 kB / 0.9602 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.8318, allocations: 191.8 kB / 0.9603 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.8319, allocations: 181.7 kB / 0.9605 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.8319, allocations: 106.3 kB / 0.9606 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.832, allocations: 180.3 kB / 0.9608 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.832, allocations: 106.1 kB / 0.9609 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.832, allocations: 85.67 kB / 0.961 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.832, allocations: 3.938 kB / 0.961 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002622/0.8323, allocations: 5.516 kB / 0.961 GB, free: 0.7148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.8324, allocations: 177.3 kB / 0.9611 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.968e-05/0.8324, allocations: 0 / 0.9611 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8324, allocations: 1.375 kB / 0.9611 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.8325, allocations: 4.094 kB / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.8327, allocations: 0.5161 MB / 0.9617 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.833, allocations: 150.3 kB / 0.9618 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.8332, allocations: 0.6745 MB / 0.9625 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.8332, allocations: 0 / 0.9625 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.8333, allocations: 16.78 kB / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8333, allocations: 0 / 0.9625 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.002011/0.8353, allocations: 151.5 kB / 0.9626 GB, free: 15.05 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches