Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 128 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.001737/0.001737, allocations: 196.9 kB / 16.53 MB, free: 6.672 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.88 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4316, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002159/0.4338, allocations: 0.6536 MB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.4348, allocations: 0.81 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.4348, allocations: 3.938 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.4349, allocations: 3.938 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.4349, allocations: 4 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.4351, allocations: 7.984 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.4352, allocations: 23.94 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4353, allocations: 11.98 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.4354, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.4354, allocations: 15.97 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.4355, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.4355, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.4355, allocations: 7.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.4355, allocations: 8 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.904e-05/0.4356, allocations: 27.89 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4356, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4356, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4356, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004848/0.4361, allocations: 335.7 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4362, allocations: 12.03 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.4362, allocations: 4.938 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4363, allocations: 168.3 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.4364, allocations: 8.375 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.4364, allocations: 384 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4366, allocations: 50.23 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4366, allocations: 192 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4366, allocations: 3.938 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4366, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4368, allocations: 35.95 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.4371, allocations: 252.9 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4373, allocations: 38.5 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.4374, allocations: 20.89 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4374, allocations: 4 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4374, allocations: 38.56 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4374, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.4378, allocations: 85.48 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4378, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.4379, allocations: 97.86 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4379, allocations: 25.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.438, allocations: 92.25 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.438, allocations: 7.906 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4381, allocations: 9.719 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4382, allocations: 310.8 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.4383, allocations: 19.98 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.4384, allocations: 19.91 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4385, allocations: 44.89 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4385, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.4388, allocations: 73.53 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4388, allocations: 4 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4388, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4388, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.4389, allocations: 16.02 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4389, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.439, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.439, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.146e-05/0.4391, allocations: 109.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4391, allocations: 7.984 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.4394, allocations: 76.72 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4394, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4394, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4394, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4396, allocations: 161.6 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4396, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.4396, allocations: 7.984 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.4396, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4397, allocations: 3.938 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4397, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4397, allocations: 4.031 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.4399, allocations: 167.5 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.44, allocations: 85.09 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.44, allocations: 3.984 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.4401, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4401, allocations: 3.969 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4401, allocations: 4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.4402, allocations: 87.27 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.4402, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002048/0.4404, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001647/0.4405, allocations: 99.78 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4408, allocations: 39.95 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4408, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.4409, allocations: 19.98 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4411, allocations: 9.281 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.4414, allocations: 111.1 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4417, allocations: 0.6768 MB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.4418, allocations: 12.06 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.4418, allocations: 7.438 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4418, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of Templates: time 0.002605/0.4444, allocations: 432.2 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches