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.00128/0.00128, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001434/0.001434, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.137/3.137, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",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="me",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.002065/0.002065, allocations: 73.94 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001842/0.3746, allocations: 0.5884 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.329e-05/0.3747, allocations: 0 / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.3747, allocations: 4 kB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.3747, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.3747, allocations: 0 / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.376e-05/0.3748, allocations: 3.984 kB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.397e-05/0.3748, allocations: 4 kB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.3749, allocations: 4 kB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.3749, allocations: 7.984 kB / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.3749, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3749, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-06/0.3749, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.3749, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.375, allocations: 0 / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.473e-05/0.375, allocations: 3.938 kB / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.375, allocations: 0 / 1.321 GB, free: 2.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.108e-06/0.375, allocations: 4 kB / 1.321 GB, free: 2.727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.375, allocations: 4 kB / 1.321 GB, free: 2.723 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.0003484/0.3754, allocations: 311.8 kB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3755, allocations: 16.02 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.3755, allocations: 30.75 kB / 1.322 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.3755, allocations: 4.938 kB / 1.322 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3756, allocations: 160.4 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.3756, allocations: 384 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3757, allocations: 384 / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.432e-05/0.3757, allocations: 30.27 kB / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3758, allocations: 7.938 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.3758, allocations: 3.984 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3758, allocations: 0 / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.3758, allocations: 3.938 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.376, allocations: 149.6 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.376, allocations: 18.58 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.376, allocations: 8.953 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.376, allocations: 4 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3761, allocations: 30.56 kB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3761, allocations: 3.938 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.3762, allocations: 41.56 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3762, allocations: 51.41 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.3763, allocations: 93.86 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3763, allocations: 25.7 kB / 1.322 GB, free: 1.539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.3764, allocations: 84.27 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3764, allocations: 7.953 kB / 1.322 GB, free: 1.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.3764, allocations: 9.719 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3766, allocations: 310.8 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.3766, allocations: 4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.3766, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.3766, allocations: 16.86 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3766, allocations: 0 / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.451e-05/0.3767, allocations: 41.69 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3767, allocations: 4 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3767, allocations: 7.922 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3767, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.3768, allocations: 4 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3768, allocations: 0 / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.3768, allocations: 3.938 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.3768, allocations: 0 / 1.323 GB, free: 1.027 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.222e-05/0.3769, allocations: 105.8 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-06/0.3769, allocations: 8.031 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.3769, allocations: 11.05 kB / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3769, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3769, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3769, allocations: 0 / 1.323 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3771, allocations: 145.7 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3771, allocations: 0 / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.3771, allocations: 4 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3771, allocations: 0 / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3771, allocations: 3.938 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3771, allocations: 0 / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3771, allocations: 4 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.49e-05/0.3772, allocations: 65.06 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.3772, allocations: 77.11 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3772, allocations: 3.938 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.3772, allocations: 0 / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3772, allocations: 0 / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.3772, allocations: 0 / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.3773, allocations: 83.31 kB / 1.323 GB, free: 440 kB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3773, allocations: 0 / 1.323 GB, free: 440 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001962/0.3775, allocations: 3.938 kB / 1.323 GB, free: 436 kB / 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.0004852/0.378, allocations: 0.5972 MB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.378, allocations: 12.02 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.378, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.378, allocations: 0 / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3782, allocations: 4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3786, allocations: 111.2 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3789, allocations: 0.669 MB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.3789, allocations: 3.984 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.379, allocations: 7.438 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.379, allocations: 8.125 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.4041, allocations: 0.9155 MB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.51, allocations: 13 kB / 1.326 GB, free: 14.1 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.098741605877876]