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.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.001316/0.001316, allocations: 109.9 kB / 16.45 MB, free: 6.508 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.001386/0.001386, allocations: 195.8 kB / 19.41 MB, free: 3.664 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.189/3.189, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002001/0.002001, allocations: 71.17 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3756, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001791/0.3773, allocations: 0.5747 MB / 1.305 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.879e-05/0.3774, allocations: 7.938 kB / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.3774, allocations: 0 / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3774, allocations: 0 / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.3775, allocations: 0 / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.084e-05/0.3775, allocations: 0 / 1.305 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.3776, allocations: 7.984 kB / 1.305 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.3776, allocations: 0 / 1.305 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.3776, allocations: 3.984 kB / 1.305 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.183e-05/0.3777, allocations: 0 / 1.305 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3777, allocations: 0 / 1.305 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-06/0.3777, allocations: 4 kB / 1.305 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3777, allocations: 7.938 kB / 1.305 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.3777, allocations: 4 kB / 1.305 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.3778, allocations: 0 / 1.305 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3778, allocations: 0 / 1.305 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3778, allocations: 0 / 1.305 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3778, allocations: 0 / 1.305 GB, free: 0.9102 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.0003597/0.3782, allocations: 311.9 kB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3782, allocations: 8.922 kB / 1.305 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3783, allocations: 30.75 kB / 1.305 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.3783, allocations: 4.938 kB / 1.305 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3784, allocations: 168.3 kB / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.3784, allocations: 384 / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3784, allocations: 384 / 1.305 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3785, allocations: 30.27 kB / 1.305 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3785, allocations: 11.86 kB / 1.305 GB, free: 260 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3786, allocations: 4 kB / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3786, allocations: 0 / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.3786, allocations: 0 / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3788, allocations: 149.6 kB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.3788, allocations: 26.55 kB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.3788, allocations: 8.859 kB / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.3788, allocations: 0 / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3789, allocations: 34.62 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.3789, allocations: 0 / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.379, allocations: 37.62 kB / 1.305 GB, free: 15.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3791, allocations: 55.53 kB / 1.305 GB, free: 15.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/0.3791, allocations: 89.86 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3791, allocations: 29.64 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.3792, allocations: 80.14 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3792, allocations: 7.938 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3792, allocations: 13.72 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3793, allocations: 310.8 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.3794, allocations: 0 / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.3794, allocations: 8 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.3794, allocations: 4.859 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3794, allocations: 0 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.247e-05/0.3794, allocations: 41.69 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3795, allocations: 4 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3795, allocations: 3.938 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3795, allocations: 0 / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.3795, allocations: 0 / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3795, allocations: 7.938 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.3796, allocations: 8.047 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3796, allocations: 0 / 1.306 GB, free: 15.21 MB / 1.014 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.348e-05/0.3796, allocations: 109.8 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.3796, allocations: 0 / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.3797, allocations: 7.062 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3797, allocations: 8 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3797, allocations: 0 / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3797, allocations: 3.984 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3798, allocations: 145.7 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3798, allocations: 4 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-06/0.3798, allocations: 0 / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3798, allocations: 4 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.3798, allocations: 3.938 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3798, allocations: 0 / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3798, allocations: 3.938 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.571e-05/0.3799, allocations: 53.12 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3799, allocations: 81.11 kB / 1.306 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3799, allocations: 11.91 kB / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.38, allocations: 0 / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.38, allocations: 4 kB / 1.306 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.38, allocations: 0 / 1.306 GB, free: 14.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.38, allocations: 79.22 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001786/0.3802, allocations: 4 kB / 1.307 GB, free: 14.6 MB / 1.014 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.000435/0.3806, allocations: 0.5972 MB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.331e-05/0.3807, allocations: 3.938 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3807, allocations: 0 / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.3807, allocations: 4 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.3808, allocations: 7.234 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.3812, allocations: 115.3 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3815, allocations: 0.6729 MB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.319e-05/0.3815, allocations: 0 / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.3815, allocations: 7.438 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/0.3815, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4051, allocations: 0.9086 MB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.279, allocations: 19.05 kB / 1.309 GB, free: 12.3 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.993429278023541]