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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7808, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001411/0.7823, allocations: 0.5846 MB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.368e-05/0.7823, allocations: 8.781 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.7823, allocations: 2.812 kB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.7823, allocations: 0 / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.7824, allocations: 3.984 kB / 1.272 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.643e-05/0.7824, allocations: 4.688 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.7824, allocations: 1.938 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.7825, allocations: 2.047 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.158e-05/0.7825, allocations: 0 / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.548e-05/0.7825, allocations: 1.906 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.7825, allocations: 0 / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-06/0.7825, allocations: 0 / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.7825, allocations: 0.6562 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.7825, allocations: 3.266 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.937e-05/0.7826, allocations: 1.641 kB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7826, allocations: 0 / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7826, allocations: 4.938 kB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7826, allocations: 0.7812 kB / 1.272 GB, free: 7.324 MB / 0.9981 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.0001786/0.7828, allocations: 311.3 kB / 1.272 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.7828, allocations: 10.72 kB / 1.272 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.8e-05/0.7828, allocations: 31.62 kB / 1.272 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.383e-05/0.7828, allocations: 0.9375 kB / 1.272 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.916e-05/0.7829, allocations: 170.9 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.7829, allocations: 1.75 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.7829, allocations: 1.062 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.897e-05/0.783, allocations: 32.44 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.291e-06/0.783, allocations: 4.719 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.783, allocations: 0 / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.783, allocations: 4.594 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.783, allocations: 1.594 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.921e-05/0.7831, allocations: 149 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.089e-05/0.7831, allocations: 19.86 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.7831, allocations: 12.97 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.7831, allocations: 0 / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.7831, allocations: 31.19 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.7831, allocations: 0.5312 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 8.892e-05/0.7832, allocations: 39.45 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.7832, allocations: 53.17 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.149e-05/0.7832, allocations: 93.8 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.7832, allocations: 29.83 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-06/0.7833, allocations: 80.83 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7833, allocations: 1.375 kB / 1.273 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.7833, allocations: 11.53 kB / 1.273 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.415e-05/0.7833, allocations: 316.8 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.7833, allocations: 0.7188 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.7833, allocations: 1.281 kB / 1.273 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.7834, allocations: 7.766 kB / 1.273 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7834, allocations: 4.844 kB / 1.273 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.716e-05/0.7834, allocations: 31.77 kB / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7834, allocations: 4.781 kB / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7834, allocations: 5.25 kB / 1.273 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7834, allocations: 4.688 kB / 1.273 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.7835, allocations: 6.375 kB / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.7835, allocations: 0.6562 kB / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-06/0.7835, allocations: 0 / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.7835, allocations: 0.8438 kB / 1.273 GB, free: 5.711 MB / 0.9981 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 3.031e-05/0.7835, allocations: 115.5 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-06/0.7835, allocations: 0.625 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.7835, allocations: 8.484 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7835, allocations: 0.7812 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7835, allocations: 0.5156 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7835, allocations: 4.828 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.617e-05/0.7836, allocations: 144.7 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7836, allocations: 0.7188 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.7836, allocations: 9.953 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.7836, allocations: 4 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.7836, allocations: 4.938 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7836, allocations: 1.078 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.7836, allocations: 0.7188 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.063e-05/0.7836, allocations: 60.28 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.7836, allocations: 78.52 kB / 1.274 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.7836, allocations: 4.656 kB / 1.274 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-06/0.7837, allocations: 0.625 kB / 1.274 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.7837, allocations: 5.609 kB / 1.274 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.7837, allocations: 0.625 kB / 1.274 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.807e-06/0.7837, allocations: 75.28 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/0.7837, allocations: 0 / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001575/0.7838, allocations: 1.344 kB / 1.274 GB, free: 5.129 MB / 0.9981 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.0001935/0.784, allocations: 0.6015 MB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.534e-05/0.7841, allocations: 11.92 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7841, allocations: 0.9062 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.7841, allocations: 1.656 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.7842, allocations: 1.344 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.7844, allocations: 117.6 kB / 1.275 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.7845, allocations: 0.6756 MB / 1.275 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.117e-06/0.7845, allocations: 0.7812 kB / 1.275 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.7845, allocations: 8.188 kB / 1.275 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.7845, allocations: 0.8125 kB / 1.275 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.8036, allocations: 0.8889 MB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/7.409, allocations: 14.28 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.757793920999575]