Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",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.004608/0.004608, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001144/0.001144, allocations: 200.6 kB / 16.68 MB, free: 5.934 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: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.617/2.617, allocations: 482.6 MB / 0.7551 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.05 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2823, allocations: 162.3 MB / 1.242 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001583/0.284, allocations: 0.6672 MB / 1.243 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.2848, allocations: 0.8433 MB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2849, allocations: 0 / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2849, allocations: 3.938 kB / 1.243 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.285, allocations: 3.984 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.2851, allocations: 15.88 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.2852, allocations: 23.92 kB / 1.243 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.2852, allocations: 11.98 kB / 1.243 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.2853, allocations: 11.94 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.411e-05/0.2853, allocations: 11.92 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2853, allocations: 0 / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.2854, allocations: 4 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.2854, allocations: 4 kB / 1.243 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.2854, allocations: 11.92 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.665e-05/0.2855, allocations: 23.91 kB / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2855, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2855, allocations: 0 / 1.244 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2855, allocations: 4 kB / 1.244 GB, free: 7.172 MB / 0.9669 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.0003877/0.2859, allocations: 339.7 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2859, allocations: 8.031 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.286, allocations: 38.73 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.569e-05/0.286, allocations: 0.9375 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2861, allocations: 164.3 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2861, allocations: 4.375 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2861, allocations: 384 / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2863, allocations: 58.17 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2863, allocations: 7.922 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.2863, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2863, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.2865, allocations: 35.95 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.2868, allocations: 241 kB / 1.244 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2869, allocations: 42.5 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.287, allocations: 24.89 kB / 1.244 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.287, allocations: 3.938 kB / 1.244 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2871, allocations: 34.56 kB / 1.244 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2871, allocations: 0 / 1.244 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003126/0.2874, allocations: 81.64 kB / 1.245 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2874, allocations: 55.41 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.2875, allocations: 97.86 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2875, allocations: 25.7 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.2876, allocations: 84.08 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2876, allocations: 7.938 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2876, allocations: 21.84 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2877, allocations: 310.8 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.2878, allocations: 15.92 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.2879, allocations: 19.98 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2881, allocations: 40.81 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2881, allocations: 8 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.2883, allocations: 65.61 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2883, allocations: 13.81 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.2883, allocations: 0 / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.016e-06/0.2883, allocations: 0 / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.2884, allocations: 4 kB / 1.245 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2884, allocations: 3.984 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.2884, allocations: 8.031 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2885, allocations: 4 kB / 1.245 GB, free: 5.105 MB / 0.9669 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.716e-05/0.2885, allocations: 117.7 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.2886, allocations: 0 / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.2886, allocations: 11.11 kB / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2886, allocations: 0 / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2886, allocations: 0 / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2886, allocations: 0 / 1.245 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2888, allocations: 161.6 kB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2888, allocations: 0 / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.2888, allocations: 15.98 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2888, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.2888, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2888, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2889, allocations: 0 / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2891, allocations: 163.5 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2891, allocations: 81.14 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.2891, allocations: 0 / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.2892, allocations: 7.984 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.2893, allocations: 11.94 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2893, allocations: 0 / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.2893, allocations: 83.45 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 0 / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002016/0.2895, allocations: 11.89 kB / 1.246 GB, free: 4.363 MB / 0.9669 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.0005196/0.2901, allocations: 0.6934 MB / 1.247 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.2902, allocations: 35.91 kB / 1.247 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2903, allocations: 12.03 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.2903, allocations: 19.97 kB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.2906, allocations: 4 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.2909, allocations: 131.1 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2912, allocations: 0.6768 MB / 1.247 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.2912, allocations: 4.078 kB / 1.247 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2913, allocations: 19.5 kB / 1.247 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of SimCode: time 1.9e-07/0.2913, allocations: 0 / 1.247 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7751/1.066, allocations: 1.26 MB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.28, allocations: 9.109 kB / 1.249 GB, free: 1.492 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches