Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001394, allocations: 105 kB / 16.41 MB, free: 6.465 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.001491/0.001491, allocations: 187 kB / 17.34 MB, free: 5.719 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.11 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8567, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.00166/0.8584, allocations: 0.6563 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.8591, allocations: 0.7997 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.8592, allocations: 0 / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.8592, allocations: 0 / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.8593, allocations: 5.609 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.8594, allocations: 10.7 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.8595, allocations: 27.94 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.8596, allocations: 12.42 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.8596, allocations: 9.109 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.8597, allocations: 14.52 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.8597, allocations: 1.344 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.8597, allocations: 2.219 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.8597, allocations: 5.891 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.8598, allocations: 6.906 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.8598, allocations: 17.23 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8599, allocations: 4.688 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8599, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8599, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 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.0003803/0.8603, allocations: 337.3 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8603, allocations: 9.719 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.8603, allocations: 5.938 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.8604, allocations: 170.5 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.8604, allocations: 10.23 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.8604, allocations: 1.438 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.8606, allocations: 52.33 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.8606, allocations: 0.9688 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.8606, allocations: 7.938 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.8606, allocations: 1.094 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.8608, allocations: 33 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.8611, allocations: 242.1 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.8612, allocations: 44.3 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.787e-05/0.8613, allocations: 27.94 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.8613, allocations: 0.9375 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.8613, allocations: 36.08 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8613, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003337/0.8617, allocations: 80.33 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.8617, allocations: 52.98 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.8618, allocations: 100.6 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.8618, allocations: 26.83 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.8618, allocations: 85.73 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.8618, allocations: 5.531 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.8619, allocations: 12.59 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.8619, allocations: 316.4 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.862, allocations: 26.06 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.8621, allocations: 14.45 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.8622, allocations: 37.03 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8622, allocations: 0.5938 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.8625, allocations: 79.31 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8625, allocations: 5.469 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8625, allocations: 48 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8625, allocations: 4.766 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.8626, allocations: 13.31 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8626, allocations: 4.531 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.8627, allocations: 5.875 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.8627, allocations: 1 kB / 1.092 GB, free: 2.734 MB / 0.8575 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 4.351e-05/0.8627, allocations: 115.9 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.8628, allocations: 2.453 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.863, allocations: 70.27 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.863, allocations: 2.016 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.863, allocations: 0 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.863, allocations: 1.094 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.8631, allocations: 160 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8631, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.8632, allocations: 13.62 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8632, allocations: 3.938 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.8632, allocations: 0.9062 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8632, allocations: 0.5625 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8632, allocations: 5.062 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.8634, allocations: 166.5 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.8635, allocations: 82.38 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.8635, allocations: 1.547 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.8636, allocations: 6.25 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.8636, allocations: 2.391 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.8636, allocations: 1.062 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.8636, allocations: 84.11 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8636, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002333/0.8639, allocations: 3.25 kB / 1.093 GB, free: 2.043 MB / 0.8575 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.0001151/0.864, allocations: 105.6 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.8642, allocations: 38.94 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8642, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.8643, allocations: 21.27 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.8646, allocations: 13.77 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.8649, allocations: 130.4 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.865, allocations: 0.6761 MB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.865, allocations: 9.359 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.865, allocations: 0 / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.001915/0.8669, allocations: 0.5428 MB / 1.094 GB, free: 1.059 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches