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.01104/0.01104, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.00122/0.00122, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.171, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.002187/1.173, allocations: 0.665 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001073/1.174, allocations: 0.7958 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/1.174, allocations: 0 / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/1.174, allocations: 1.125 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/1.175, allocations: 4.547 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/1.175, allocations: 12.72 kB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/1.175, allocations: 28.5 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/1.175, allocations: 7.875 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/1.175, allocations: 9.016 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/1.175, allocations: 13.7 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/1.175, allocations: 2.156 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/1.175, allocations: 2.281 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/1.175, allocations: 5.359 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/1.175, allocations: 7.297 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/1.175, allocations: 24.41 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.175, allocations: 1.641 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.175, allocations: 0 / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.175, allocations: 0 / 1.09 GB, free: 4.438 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.0004764/1.176, allocations: 336.5 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/1.176, allocations: 9.516 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.176, allocations: 7.125 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/1.176, allocations: 168 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.176, allocations: 5.438 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.176, allocations: 5.5 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/1.176, allocations: 48.98 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.176, allocations: 192 / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.176, allocations: 4.688 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.176, allocations: 5.125 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/1.177, allocations: 31.44 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/1.177, allocations: 250.8 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/1.177, allocations: 48.88 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/1.177, allocations: 19.23 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/1.177, allocations: 1.125 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.177, allocations: 36.2 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.177, allocations: 4 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000381/1.178, allocations: 79.95 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.178, allocations: 57.12 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/1.178, allocations: 100.4 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/1.178, allocations: 27.14 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/1.178, allocations: 84.59 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.178, allocations: 14.19 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/1.178, allocations: 13.23 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/1.178, allocations: 312.3 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/1.178, allocations: 18.34 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/1.178, allocations: 13.56 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/1.178, allocations: 41.41 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.178, allocations: 0.8125 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002056/1.178, allocations: 75.14 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.178, allocations: 4.906 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.178, allocations: 9.188 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.179, allocations: 4.781 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/1.179, allocations: 8.562 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.179, allocations: 4.734 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/1.179, allocations: 6.062 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/1.179, allocations: 0.8438 kB / 1.091 GB, free: 2.707 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 6.153e-05/1.179, allocations: 112.4 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/1.179, allocations: 1.859 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/1.179, allocations: 71.3 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.179, allocations: 5.219 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.179, allocations: 0 / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.179, allocations: 0 / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/1.179, allocations: 168 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.179, allocations: 1.125 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/1.179, allocations: 8.969 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.179, allocations: 0.75 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.179, allocations: 1.062 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.179, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.179, allocations: 4 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/1.18, allocations: 167 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/1.18, allocations: 82.97 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/1.18, allocations: 0.9688 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/1.18, allocations: 6.141 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/1.18, allocations: 3.297 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/1.18, allocations: 0.875 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.853e-05/1.18, allocations: 88.38 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.18, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002345/1.18, allocations: 3.281 kB / 1.092 GB, free: 2.012 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.0001877/1.18, allocations: 103.3 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000254/1.181, allocations: 35.78 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.181, allocations: 4.062 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/1.181, allocations: 20.12 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/1.181, allocations: 7.609 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/1.181, allocations: 100.9 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/1.182, allocations: 0.6758 MB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.139e-05/1.182, allocations: 0.6094 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.182, allocations: 17.03 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/1.182, allocations: 4 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of Templates: time 0.003549/1.185, allocations: 431.5 kB / 1.093 GB, free: 1.027 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/jenkins/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