Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.0073/0.007299, allocations: 102.9 kB / 15.74 MB, free: 6.043 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.001354/0.001354, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.5/1.5, 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-maint.11.x/package.mo): time 2.971/2.971, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3592, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001905/0.3612, allocations: 0.5662 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 5.574e-05/0.3612, allocations: 7.984 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.3613, allocations: 3.938 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.3613, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.3613, allocations: 4 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.851e-05/0.3614, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.139e-05/0.3614, allocations: 7.938 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.3615, allocations: 4.062 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.3615, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.3616, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3616, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.3616, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3616, allocations: 4 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3616, allocations: 3.984 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.775e-05/0.3617, allocations: 4 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3617, allocations: 4 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3617, allocations: 0 / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3617, allocations: 0 / 1.221 GB, free: 13.68 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.0003248/0.3621, allocations: 317.6 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.3621, allocations: 8.031 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.3622, allocations: 30.75 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.921e-05/0.3622, allocations: 0.9375 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3623, allocations: 164.4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3623, allocations: 4.312 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.3624, allocations: 4.375 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.3624, allocations: 26.27 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3625, allocations: 7.922 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3625, allocations: 7.875 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3625, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.3625, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.3627, allocations: 141.7 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.3627, allocations: 18.61 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.3628, allocations: 8.859 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.3628, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3628, allocations: 38.62 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3628, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.363, allocations: 41.56 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.363, allocations: 51.41 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.3631, allocations: 89.86 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3631, allocations: 29.83 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3632, allocations: 80.14 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3632, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.3632, allocations: 17.72 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3634, allocations: 310.8 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.3634, allocations: 4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.3634, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.3634, allocations: 16.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3634, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.244e-05/0.3635, allocations: 41.69 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3635, allocations: 5.562 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3635, allocations: 3.938 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3636, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.3636, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3636, allocations: 4 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.3637, allocations: 0 / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3637, allocations: 0 / 1.222 GB, free: 11.99 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 8.449e-05/0.3638, allocations: 109.9 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.3638, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.3638, allocations: 11.05 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3638, allocations: 7.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3638, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3638, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3639, allocations: 141.7 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3639, allocations: 0 / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.364, allocations: 0 / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.364, allocations: 4 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.364, allocations: 11.88 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.364, allocations: 0 / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.364, allocations: 3.984 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.773e-05/0.3641, allocations: 58.92 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.3641, allocations: 85.09 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3642, allocations: 3.938 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.3642, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.3642, allocations: 4.031 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.3642, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.3642, allocations: 79.27 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3642, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001686/0.3644, allocations: 4 kB / 1.223 GB, free: 11.39 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.0004565/0.3649, allocations: 0.6012 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.365, allocations: 7.984 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.365, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.365, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3651, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.3655, allocations: 122.9 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3658, allocations: 0.669 MB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.3658, allocations: 8.109 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.3658, allocations: 7.438 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3658, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3878, allocations: 0.9018 MB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.459, allocations: 5.656 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches