Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 107.3 kB / 16.41 MB, free: 6.488 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.001233/0.001233, allocations: 185.6 kB / 17.34 MB, free: 5.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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.14 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7229, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00187/0.7249, allocations: 0.6573 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.7258, allocations: 0.804 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.7258, allocations: 0 / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.7259, allocations: 3.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.7259, allocations: 3.938 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.7261, allocations: 11.98 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.7261, allocations: 23.92 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.7262, allocations: 7.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.7263, allocations: 15.88 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.7264, allocations: 11.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.7264, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.7264, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.7264, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.7264, allocations: 11.94 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.425e-05/0.7265, allocations: 23.94 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.7265, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7265, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.7265, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 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.0003963/0.7269, allocations: 343.4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.727, allocations: 12.03 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.727, allocations: 0.9375 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.927e-05/0.7271, allocations: 164.2 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7271, allocations: 4.375 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.7272, allocations: 384 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.7273, allocations: 54.17 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.7273, allocations: 192 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.7274, allocations: 7.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7274, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.7275, allocations: 35.95 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.7278, allocations: 249 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.728, allocations: 38.5 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.7281, allocations: 28.89 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.7281, allocations: 7.938 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.7281, allocations: 30.56 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.7282, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.7285, allocations: 89.64 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7285, allocations: 51.41 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.7286, allocations: 94 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.7286, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.7287, allocations: 88.12 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.7287, allocations: 7.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.7287, allocations: 9.719 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.7288, allocations: 314.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.7289, allocations: 20.02 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.729, allocations: 23.91 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.7292, allocations: 36.83 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7292, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.7294, allocations: 73.66 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7294, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7294, allocations: 48 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7294, allocations: 7.922 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.7295, allocations: 11.98 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7295, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.7296, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.7296, allocations: 3.938 kB / 1.212 GB, free: 10 MB / 0.9356 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.182e-05/0.7297, allocations: 121.8 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.7297, allocations: 7.984 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.7299, allocations: 64.78 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7299, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7299, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7299, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.7301, allocations: 157.6 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7301, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.7302, allocations: 16.02 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7302, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.7302, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7302, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7302, allocations: 0 / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.7304, allocations: 171.3 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.7305, allocations: 85.14 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.7305, allocations: 3.984 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.7306, allocations: 4 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.7306, allocations: 4 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.7306, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.7307, allocations: 83.27 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7307, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002102/0.7309, allocations: 4 kB / 1.212 GB, free: 9.191 MB / 0.9356 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.0001244/0.731, allocations: 101.1 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.7312, allocations: 43.89 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7312, allocations: 0 / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.7313, allocations: 19.98 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.7316, allocations: 7.938 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.7319, allocations: 138.1 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7321, allocations: 0.6768 MB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.7322, allocations: 11.44 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.7322, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.001693/0.7339, allocations: 0.5393 MB / 1.214 GB, free: 7.594 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches