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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000839/0.000839, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8829/0.8829, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.759/1.759, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.101e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001191/0.001212, allocations: 0.5728 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.863e-05/0.001251, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.001265, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.001293, allocations: 7.938 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.001318, allocations: 0 / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.118e-05/0.001349, allocations: 0 / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.223e-05/0.001401, allocations: 4 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.001446, allocations: 7.938 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.001475, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.001493, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.001509, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-06/0.001513, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.001525, allocations: 3.984 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.001541, allocations: 4 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.277e-05/0.001594, allocations: 7.984 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-06/0.001596, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.82e-07/0.001596, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.0016, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 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.0002005/0.0018, allocations: 236.8 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.001838, allocations: 8.75 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.001866, allocations: 34.75 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.947e-05/0.001886, allocations: 4.938 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.371e-05/0.001939, allocations: 105.8 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.00195, allocations: 384 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-06/0.001956, allocations: 384 / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.002032, allocations: 38.2 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.002039, allocations: 192 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.002047, allocations: 384 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.002052, allocations: 4.125 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.002067, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.798e-05/0.002165, allocations: 116.8 kB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.0022, allocations: 18.58 kB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.002219, allocations: 8.953 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.002227, allocations: 3.984 kB / 1.001 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.002252, allocations: 38.5 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.002253, allocations: 4 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.002362, allocations: 33.7 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.002391, allocations: 55.34 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.559e-05/0.002416, allocations: 93.86 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.002424, allocations: 25.7 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.002444, allocations: 80.14 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.002468, allocations: 0 / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.002488, allocations: 13.72 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.002564, allocations: 310.8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.002574, allocations: 4.109 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.002579, allocations: 8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.0026, allocations: 12.8 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.002602, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.669e-05/0.002639, allocations: 41.64 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.002651, allocations: 7.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.002656, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.002667, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.00272, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.002727, allocations: 3.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-06/0.002734, allocations: 8.031 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.002739, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 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.13e-05/0.002791, allocations: 109.8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-06/0.002794, allocations: 0 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.002809, allocations: 7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.002811, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.002816, allocations: 3.938 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.002818, allocations: 0 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.566e-05/0.002874, allocations: 116.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.002875, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.00288, allocations: 11.94 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.002881, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.002887, allocations: 3.984 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.002887, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.002889, allocations: 3.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.668e-05/0.002935, allocations: 53.14 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.00294, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.002949, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-06/0.002955, allocations: 8 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.002967, allocations: 7.922 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-07/0.002967, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.065e-05/0.002988, allocations: 79.31 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.1e-08/0.002988, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001146/0.003103, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 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.0002191/0.003322, allocations: 0.5929 MB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.879e-05/0.003381, allocations: 8 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.003382, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.003385, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.613e-05/0.003481, allocations: 4.094 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.00375, allocations: 122.5 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.003782, allocations: 55.34 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.899e-06/0.003792, allocations: 0 / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.853e-05/0.00381, allocations: 8.5 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.003811, allocations: 4 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.01894, allocations: 1.546 MB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.393, allocations: 3.375 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB " [Timeout remaining time 294] (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 --stepSize=0.0008 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.3707518260926]