Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001449/0.001449, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001675/0.001675, allocations: 215.9 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 62.25 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4426, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002087/0.4447, allocations: 0.5909 MB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.79e-05/0.4447, allocations: 7.938 kB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.4448, allocations: 0 / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.4448, allocations: 0 / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.4448, allocations: 4 kB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/0.4449, allocations: 0 / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.4449, allocations: 4 kB / 1.327 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.445, allocations: 0 / 1.327 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.445, allocations: 3.984 kB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.445, allocations: 3.984 kB / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.4451, allocations: 0 / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.4451, allocations: 0 / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.4451, allocations: 0 / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.4451, allocations: 4 kB / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.4452, allocations: 0 / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.4452, allocations: 4 kB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4452, allocations: 4 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4452, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 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.0003231/0.4455, allocations: 234.7 kB / 1.328 GB, free: 1.102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.4456, allocations: 8.031 kB / 1.328 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.653e-05/0.4456, allocations: 192 / 1.328 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.4456, allocations: 34.73 kB / 1.328 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.4457, allocations: 4.938 kB / 1.328 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.4457, allocations: 110.4 kB / 1.328 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4458, allocations: 8.312 kB / 1.328 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.4458, allocations: 384 / 1.328 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.4459, allocations: 38.02 kB / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4459, allocations: 0 / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4459, allocations: 0 / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4459, allocations: 0 / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.4459, allocations: 0 / 1.328 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.4461, allocations: 116.8 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.4461, allocations: 26.5 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.4462, allocations: 12.95 kB / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.4462, allocations: 0 / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.4462, allocations: 34.91 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4462, allocations: 0 / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.4463, allocations: 29.7 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4464, allocations: 51.41 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.4464, allocations: 93.98 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4465, allocations: 25.7 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.4465, allocations: 88.14 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.4465, allocations: 7.891 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.4466, allocations: 13.7 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4467, allocations: 310.8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.4467, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-06/0.4467, allocations: 0 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.4468, allocations: 12.92 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4468, allocations: 0 / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.165e-05/0.4468, allocations: 33.7 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4468, allocations: 7.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.4468, allocations: 0 / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4469, allocations: 3.984 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.4469, allocations: 4 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4469, allocations: 11.86 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.4469, allocations: 4 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4469, allocations: 4.031 kB / 1.329 GB, free: 15.86 MB / 1.029 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.807e-05/0.447, allocations: 106.4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.447, allocations: 7.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.447, allocations: 3 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.447, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.447, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.447, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/0.4471, allocations: 124.8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4471, allocations: 4 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.4472, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4472, allocations: 11.88 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.4472, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.4472, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4472, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.643e-05/0.4472, allocations: 53.14 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.4472, allocations: 7.984 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.4473, allocations: 7.875 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.4473, allocations: 4.031 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.4473, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.4473, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.4473, allocations: 75.28 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4473, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002037/0.4475, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 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.0004402/0.448, allocations: 0.5929 MB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.25e-05/0.448, allocations: 7.938 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.448, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-06/0.448, allocations: 4 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.4482, allocations: 1.547 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.4485, allocations: 115.4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4488, allocations: 0.673 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.4488, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.4488, allocations: 7.438 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4488, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4706, allocations: 1.04 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.65, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.88151034899056]