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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009225/0.0009224, allocations: 98.88 kB / 16.02 MB, free: 76 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.001043/0.001043, allocations: 185.3 kB / 16.92 MB, free: 6.766 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.888/2.888, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 11.56 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001138/0.3404, allocations: 404.5 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3419, allocations: 0.8001 MB / 1.061 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.342, allocations: 0 / 1.061 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.342, allocations: 7.984 kB / 1.061 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.3422, allocations: 3.984 kB / 1.061 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.3424, allocations: 7.938 kB / 1.061 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3425, allocations: 19.98 kB / 1.061 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3427, allocations: 4 kB / 1.061 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.3428, allocations: 7.938 kB / 1.061 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.3429, allocations: 11.98 kB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3429, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3429, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.3429, allocations: 11.94 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.343, allocations: 29.69 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.3431, allocations: 23.95 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.3431, allocations: 3.938 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3431, allocations: 3.938 kB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3431, allocations: 0 / 1.061 GB, free: 3.66 MB / 0.8106 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.0005665/0.3437, allocations: 331.8 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.3438, allocations: 15.97 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3438, allocations: 4.938 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.344, allocations: 168.2 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.344, allocations: 4.375 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3441, allocations: 4.375 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3443, allocations: 54.23 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3443, allocations: 192 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3443, allocations: 3.938 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3443, allocations: 4 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.3445, allocations: 43.95 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.3449, allocations: 244.9 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.345, allocations: 46.5 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.3451, allocations: 28.89 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3452, allocations: 0 / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.3452, allocations: 38.56 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3452, allocations: 0 / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.3456, allocations: 101.7 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3456, allocations: 51.41 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.3457, allocations: 97.86 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3457, allocations: 25.7 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.3458, allocations: 88.12 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.3458, allocations: 11.84 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.3458, allocations: 9.719 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.346, allocations: 310.8 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.346, allocations: 28.02 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.3461, allocations: 23.97 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3463, allocations: 48.89 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3463, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.3465, allocations: 85.53 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3466, allocations: 4 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3466, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3466, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3467, allocations: 11.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3467, allocations: 11.94 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.3468, allocations: 4 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3468, allocations: 4 kB / 1.062 GB, free: 1.562 MB / 0.8106 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 7.793e-05/0.3469, allocations: 117.8 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3469, allocations: 3.906 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.3471, allocations: 88.7 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3471, allocations: 32 / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3471, allocations: 4 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3472, allocations: 192 / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3473, allocations: 157.6 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3473, allocations: 0 / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.3474, allocations: 19.97 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3474, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3474, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3474, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3474, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3477, allocations: 171.5 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.3477, allocations: 89.05 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3477, allocations: 0 / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.3478, allocations: 12.02 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3479, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3479, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.3479, allocations: 83.27 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3479, allocations: 0 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00021/0.3481, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 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.0001509/0.3483, allocations: 97.64 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3485, allocations: 55.95 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3485, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.3486, allocations: 24.05 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3489, allocations: 15.81 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3492, allocations: 142.4 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3495, allocations: 0.6731 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3495, allocations: 11.44 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3495, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.002021/0.3516, allocations: 0.5302 MB / 1.065 GB, free: 15.12 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/jenkins1/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