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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.005554/0.005554, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.00131/0.00131, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.832/2.832, allocations: 469.4 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3338, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001911/0.3358, allocations: 0.5647 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.095e-05/0.3358, allocations: 0 / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.3359, allocations: 4 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.3359, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.3359, allocations: 3.828 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.57e-05/0.336, allocations: 7.922 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.336, allocations: 4 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.3361, allocations: 4.062 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.3361, allocations: 0 / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.601e-05/0.3361, allocations: 0 / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.3362, allocations: 0 / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-06/0.3362, allocations: 4 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3362, allocations: 4 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3362, allocations: 4 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.072e-05/0.3363, allocations: 3.938 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3363, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3363, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3363, allocations: 0 / 1.22 GB, free: 14.04 MB / 0.9825 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.0002898/0.3366, allocations: 315.5 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3366, allocations: 8.031 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.3367, allocations: 30.75 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.3367, allocations: 4.938 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.3368, allocations: 164.4 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3368, allocations: 384 / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.3368, allocations: 8.312 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.3369, allocations: 26.27 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3369, allocations: 3.938 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.337, allocations: 4 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.337, allocations: 3.984 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.337, allocations: 3.938 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.3371, allocations: 149.7 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.817e-05/0.3372, allocations: 22.61 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.3372, allocations: 8.859 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3372, allocations: 0 / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3373, allocations: 34.62 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3373, allocations: 0 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.3374, allocations: 41.56 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3375, allocations: 55.53 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.265e-05/0.3375, allocations: 89.86 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3375, allocations: 25.7 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.3376, allocations: 84.14 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3376, allocations: 0 / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3376, allocations: 13.72 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3377, allocations: 310.8 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.3377, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.3378, allocations: 8 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.3378, allocations: 4.859 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3378, allocations: 3.938 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.516e-05/0.3378, allocations: 45.62 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3379, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3379, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3379, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.338, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.338, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.338, allocations: 4.094 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.338, allocations: 0 / 1.222 GB, free: 12.35 MB / 0.9825 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 7.992e-05/0.3381, allocations: 106.4 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.3381, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.3381, allocations: 7.062 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3381, allocations: 11.97 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3381, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3381, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.3382, allocations: 145.7 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3382, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.3383, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3383, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3383, allocations: 3.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3383, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3383, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.605e-05/0.3384, allocations: 58.91 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3384, allocations: 81.11 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3384, allocations: 7.969 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-06/0.3384, allocations: 4 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.3385, allocations: 0 / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.3385, allocations: 0 / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.3385, allocations: 75.28 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 0 / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001901/0.3387, allocations: 4 kB / 1.222 GB, free: 11.75 MB / 0.9825 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.0003775/0.3391, allocations: 0.6007 MB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.3391, allocations: 4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3392, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.3392, allocations: 3.984 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3393, allocations: 1.719 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3396, allocations: 123.1 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3399, allocations: 0.669 MB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.067e-05/0.3399, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.3399, allocations: 15.36 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3399, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.3568, allocations: 0.9089 MB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.96, allocations: 14.5 kB / 1.225 GB, free: 9.441 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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