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.007855/0.007855, allocations: 108.9 kB / 15.74 MB, free: 6.441 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.001649/0.001649, allocations: 192 kB / 16.67 MB, free: 6.355 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 67.91 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.325, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002247/0.3273, allocations: 0.5664 MB / 1.208 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 5.5e-05/0.3274, allocations: 4 kB / 1.208 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.3274, allocations: 3.938 kB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.3275, allocations: 0 / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.989e-05/0.3275, allocations: 0 / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.729e-05/0.3276, allocations: 0 / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.3277, allocations: 8 kB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.3277, allocations: 8 kB / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.3278, allocations: 0 / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.252e-05/0.3278, allocations: 0 / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3278, allocations: 0 / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.3278, allocations: 0 / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.3278, allocations: 0 / 1.208 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3279, allocations: 4 kB / 1.208 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.94e-05/0.3279, allocations: 7.984 kB / 1.208 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.328, allocations: 0 / 1.208 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.196e-06/0.328, allocations: 0 / 1.208 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.328, allocations: 4 kB / 1.208 GB, free: 9.508 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002865/0.3283, allocations: 307.6 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3283, allocations: 8.625 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.3284, allocations: 30.75 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.3284, allocations: 0.9375 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3285, allocations: 164.4 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3285, allocations: 12.3 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.3285, allocations: 384 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.3286, allocations: 38.27 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3286, allocations: 3.938 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3286, allocations: 0 / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3286, allocations: 3.938 kB / 1.208 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.3287, allocations: 4 kB / 1.208 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.3288, allocations: 141.7 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.3289, allocations: 14.67 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.3289, allocations: 16.84 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3289, allocations: 4 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3289, allocations: 30.56 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.3289, allocations: 7.938 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.3291, allocations: 37.58 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3291, allocations: 51.41 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.3292, allocations: 89.86 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.3292, allocations: 25.7 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.3292, allocations: 88.25 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3292, allocations: 3.906 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3293, allocations: 17.72 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3294, allocations: 314.8 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.3294, allocations: 0 / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.3294, allocations: 0 / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.3295, allocations: 12.8 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3295, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.172e-05/0.3295, allocations: 37.77 kB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3296, allocations: 9.719 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3296, allocations: 3.938 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3296, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.3296, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3297, allocations: 0 / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.242e-05/0.3297, allocations: 4 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3297, allocations: 0 / 1.209 GB, free: 7.82 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 (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 6.991e-05/0.3298, allocations: 109.8 kB / 1.209 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-06/0.3298, allocations: 4.031 kB / 1.209 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.754e-05/0.3298, allocations: 7.062 kB / 1.209 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3298, allocations: 3.938 kB / 1.209 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3298, allocations: 4 kB / 1.209 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3298, allocations: 0 / 1.209 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.3299, allocations: 141.7 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3299, allocations: 3.984 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.3299, allocations: 0 / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3299, allocations: 0 / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3299, allocations: 7.938 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.33, allocations: 7.938 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.33, allocations: 0 / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.127e-05/0.33, allocations: 53.14 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3301, allocations: 77.39 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3301, allocations: 11.92 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.3301, allocations: 4 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.3301, allocations: 0 / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.3301, allocations: 4.031 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.3301, allocations: 75.28 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3302, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001933/0.3304, allocations: 7.938 kB / 1.21 GB, free: 7.215 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 (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.0003827/0.3307, allocations: 0.5968 MB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.3308, allocations: 8.031 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3308, allocations: 0 / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.3309, allocations: 4 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.331, allocations: 7.875 kB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.3314, allocations: 127.1 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3316, allocations: 0.6729 MB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.31e-05/0.3316, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.3317, allocations: 7.562 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3317, allocations: 4 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.3486, allocations: 0.9085 MB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.934, allocations: 5.375 kB / 1.212 GB, free: 4.891 MB / 0.9669 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) Reference file matches