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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007716/0.007716, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001429/0.001429, allocations: 193.4 kB / 16.68 MB, free: 5.484 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.694/2.694, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.88 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2744, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001629/0.276, allocations: 0.6779 MB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.2769, allocations: 0.7962 MB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.2769, allocations: 0 / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.2769, allocations: 3.938 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.277, allocations: 3.938 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.2771, allocations: 11.98 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.2772, allocations: 19.98 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.2773, allocations: 4 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.2773, allocations: 15.88 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.2773, allocations: 11.98 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2774, allocations: 4 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.2774, allocations: 0 / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.2774, allocations: 3.938 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2774, allocations: 15.97 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.2775, allocations: 19.91 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2775, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2775, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2775, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9981 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.0004113/0.2779, allocations: 343.5 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.278, allocations: 8.031 kB / 1.244 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.278, allocations: 30.75 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.733e-05/0.278, allocations: 0.9375 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2781, allocations: 172.3 kB / 1.244 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2782, allocations: 4.375 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.2782, allocations: 384 / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2783, allocations: 54.17 kB / 1.244 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2783, allocations: 3.938 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.2784, allocations: 4 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2784, allocations: 0 / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2785, allocations: 35.95 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.2788, allocations: 240.9 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.279, allocations: 46.47 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.2791, allocations: 32.78 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2791, allocations: 0 / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2791, allocations: 30.56 kB / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2791, allocations: 0 / 1.244 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003293/0.2794, allocations: 81.73 kB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.2795, allocations: 55.44 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.2796, allocations: 101.8 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2796, allocations: 25.7 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2796, allocations: 84.14 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2797, allocations: 7.953 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.2797, allocations: 9.719 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2798, allocations: 314.8 kB / 1.245 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.2799, allocations: 27.91 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.28, allocations: 11.98 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2802, allocations: 36.83 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2802, allocations: 3.938 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.2804, allocations: 77.67 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2804, allocations: 5.25 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2804, allocations: 0 / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2804, allocations: 4 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.2805, allocations: 11.98 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2805, allocations: 3.984 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.2806, allocations: 7.938 kB / 1.245 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2806, allocations: 3.984 kB / 1.245 GB, free: 6.094 MB / 0.9981 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.097e-05/0.2806, allocations: 117.8 kB / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2807, allocations: 0 / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.2809, allocations: 68.78 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2809, allocations: 4.188 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2809, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2811, allocations: 165.6 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2811, allocations: 0 / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.2811, allocations: 8.031 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2811, allocations: 0 / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2812, allocations: 4 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2812, allocations: 3.938 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2812, allocations: 3.984 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2814, allocations: 163.4 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.2815, allocations: 89.08 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.2815, allocations: 0 / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.2815, allocations: 4 kB / 1.246 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.2816, allocations: 3.984 kB / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2816, allocations: 7.938 kB / 1.246 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.2816, allocations: 79.28 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2816, allocations: 0 / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002/0.2818, allocations: 4 kB / 1.246 GB, free: 5.281 MB / 0.9981 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.0005457/0.2824, allocations: 0.7012 MB / 1.247 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2826, allocations: 35.95 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2826, allocations: 4.094 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.2827, allocations: 15.98 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2829, allocations: 8 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.2833, allocations: 135 kB / 1.247 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2836, allocations: 0.6768 MB / 1.247 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2836, allocations: 0 / 1.247 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.2836, allocations: 11.5 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.2836, allocations: 0 / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4184/0.702, allocations: 1.282 MB / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.94, allocations: 5.719 kB / 1.249 GB, free: 2.398 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > 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