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.002034/0.002034, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.001832/0.001832, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.455/1.455, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.719/2.719, allocations: 469.8 MB / 0.7491 GB, free: 2.988 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.001956/0.001956, allocations: 71.89 kB / 1.073 GB, free: 76 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8732, allocations: 159.1 MB / 1.229 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002031/0.8753, allocations: 0.5747 MB / 1.229 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.145e-05/0.8754, allocations: 7.938 kB / 1.229 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.8754, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.8755, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.8755, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.074e-05/0.8755, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.8756, allocations: 11.94 kB / 1.229 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.8757, allocations: 3.984 kB / 1.229 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.8757, allocations: 4 kB / 1.229 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.8757, allocations: 3.984 kB / 1.229 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8757, allocations: 0 / 1.229 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.8757, allocations: 0 / 1.229 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.8758, allocations: 4 kB / 1.229 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.8758, allocations: 0 / 1.229 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.739e-05/0.8759, allocations: 0 / 1.229 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8759, allocations: 0 / 1.229 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8759, allocations: 3.938 kB / 1.229 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8759, allocations: 0 / 1.229 GB, free: 4.215 MB / 0.9356 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.0003566/0.8762, allocations: 323.5 kB / 1.23 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8763, allocations: 8.031 kB / 1.23 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.8763, allocations: 30.75 kB / 1.23 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.8764, allocations: 0.9375 kB / 1.23 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.8765, allocations: 170.2 kB / 1.23 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8765, allocations: 384 / 1.23 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.8765, allocations: 384 / 1.23 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.8766, allocations: 26.27 kB / 1.23 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8766, allocations: 3.938 kB / 1.23 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.8766, allocations: 0 / 1.23 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8767, allocations: 11.94 kB / 1.23 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.8767, allocations: 0 / 1.23 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.8768, allocations: 149.7 kB / 1.23 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.8769, allocations: 22.55 kB / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.8769, allocations: 4.859 kB / 1.23 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.8769, allocations: 0 / 1.23 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.877, allocations: 42.62 kB / 1.23 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.877, allocations: 0 / 1.23 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.8771, allocations: 33.64 kB / 1.23 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.8772, allocations: 55.39 kB / 1.23 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.8772, allocations: 89.86 kB / 1.23 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.8772, allocations: 25.7 kB / 1.23 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.8773, allocations: 80.14 kB / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.8773, allocations: 0 / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.8773, allocations: 21.78 kB / 1.23 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8775, allocations: 314.8 kB / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.8775, allocations: 0 / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.8775, allocations: 4 kB / 1.231 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.8775, allocations: 4.859 kB / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8775, allocations: 0 / 1.231 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.106e-05/0.8776, allocations: 33.7 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8776, allocations: 9.703 kB / 1.231 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8776, allocations: 8.031 kB / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.8776, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.8777, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.8777, allocations: 7.938 kB / 1.231 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.8777, allocations: 4 kB / 1.231 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.8777, allocations: 0 / 1.231 GB, free: 2.527 MB / 0.9356 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.787e-05/0.8778, allocations: 105.8 kB / 1.231 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.8778, allocations: 3.984 kB / 1.231 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.8779, allocations: 11 kB / 1.231 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8779, allocations: 8 kB / 1.231 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8779, allocations: 0 / 1.231 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8779, allocations: 4 kB / 1.231 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.878, allocations: 145.7 kB / 1.231 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.878, allocations: 0 / 1.231 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.878, allocations: 3.938 kB / 1.231 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.878, allocations: 4 kB / 1.231 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.878, allocations: 3.938 kB / 1.231 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.878, allocations: 0 / 1.231 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.8781, allocations: 0 / 1.231 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.8781, allocations: 61.12 kB / 1.231 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.8782, allocations: 81.11 kB / 1.231 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.8782, allocations: 3.938 kB / 1.231 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.8782, allocations: 3.938 kB / 1.231 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-06/0.8782, allocations: 0 / 1.231 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.8782, allocations: 0 / 1.231 GB, free: 2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.8783, allocations: 75.28 kB / 1.231 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8783, allocations: 0 / 1.231 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001745/0.8785, allocations: 8.031 kB / 1.231 GB, free: 1.918 MB / 0.9356 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.0004026/0.8789, allocations: 0.5934 MB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.294e-05/0.879, allocations: 11.94 kB / 1.232 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.879, allocations: 96 / 1.232 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.879, allocations: 4 kB / 1.232 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.8791, allocations: 0 / 1.232 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.8794, allocations: 119.1 kB / 1.232 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8797, allocations: 0.669 MB / 1.233 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.141e-05/0.8798, allocations: 0 / 1.233 GB, free: 436 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.8798, allocations: 7.438 kB / 1.233 GB, free: 432 kB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8798, allocations: 0 / 1.233 GB, free: 432 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.8993, allocations: 0.9177 MB / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.732, allocations: 3.938 kB / 1.233 GB, free: 15.61 MB / 0.9512 GB " [Timeout remaining time 291] (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 --stepSize=0.0008 --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_2/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: 14.793602214893326]