Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",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.00167/0.00167, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001676/0.001676, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.95 kB / 0.8988 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2814, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001548/0.283, allocations: 0.6314 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 2.953e-05/0.2831, allocations: 0 / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.127e-05/0.2831, allocations: 4 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.2831, allocations: 3.938 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.2832, allocations: 0 / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.582e-05/0.2832, allocations: 0 / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.2832, allocations: 15.98 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.2833, allocations: 3.938 kB / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.149e-05/0.2833, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.242e-05/0.2833, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.2833, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-06/0.2833, allocations: 0 / 1.053 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.2833, allocations: 4 kB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.2834, allocations: 4 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.097e-05/0.2834, allocations: 0 / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2834, allocations: 3.938 kB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2834, allocations: 0 / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2834, allocations: 0 / 1.053 GB, free: 7.984 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002253/0.2837, allocations: 315.6 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2837, allocations: 8.625 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.2837, allocations: 30.75 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.618e-05/0.2838, allocations: 0.9375 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.573e-05/0.2838, allocations: 164.4 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.2838, allocations: 8.359 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.2839, allocations: 384 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.212e-05/0.2839, allocations: 34.19 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2839, allocations: 3.938 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.284, allocations: 0 / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.284, allocations: 4 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.284, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.2841, allocations: 145.7 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.166e-05/0.2841, allocations: 22.61 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.2842, allocations: 4.859 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.2842, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2842, allocations: 46.55 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2842, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001015/0.2843, allocations: 37.64 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.2843, allocations: 55.53 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.745e-05/0.2844, allocations: 89.86 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.2844, allocations: 25.7 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.2844, allocations: 80.14 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.2844, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.2845, allocations: 13.72 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.2846, allocations: 310.8 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.2846, allocations: 0 / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.2846, allocations: 0 / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.2846, allocations: 24.84 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2846, allocations: 0 / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.317e-05/0.2847, allocations: 29.7 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2847, allocations: 11.94 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2847, allocations: 3.938 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.2847, allocations: 3.938 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.2848, allocations: 0 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2848, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-06/0.2848, allocations: 32 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2848, allocations: 4 kB / 1.055 GB, free: 6.297 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 (1): * Single equations (assignments): 1 * 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 5.232e-05/0.2848, allocations: 107.4 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.2849, allocations: 3.984 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.2849, allocations: 11.06 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2849, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2849, allocations: 4 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2849, allocations: 3.938 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.613e-05/0.285, allocations: 141.7 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.285, allocations: 0 / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.285, allocations: 4 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.285, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.285, allocations: 7.922 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.285, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.285, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.135e-05/0.2851, allocations: 53.14 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.2851, allocations: 77.39 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.2851, allocations: 11.97 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.2851, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-06/0.2851, allocations: 3.984 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.2851, allocations: 0 / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.2852, allocations: 79.28 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2852, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001712/0.2854, allocations: 0 / 1.055 GB, free: 5.703 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 (1): * Single equations (assignments): 1 * 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.0002891/0.2856, allocations: 0.6007 MB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.2857, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2857, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.2857, allocations: 7.938 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.2859, allocations: 13.59 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.2861, allocations: 117.6 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.2863, allocations: 0.6729 MB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.137e-06/0.2863, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.2864, allocations: 7.438 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2864, allocations: 3.938 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/0.5212, allocations: 0.8158 MB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.5214, allocations: 217.3 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.111, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,civTim.y Variables in the result:civTim.y,time