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.001734/0.001734, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001588/0.001588, allocations: 215.8 kB / 23.03 MB, free: 4.922 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.409/3.409, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002164/0.002164, allocations: 66.09 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4292, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002444/0.4317, allocations: 0.5873 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.391e-05/0.4317, allocations: 7.938 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.4317, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.4318, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.4318, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.604e-05/0.4318, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.4319, allocations: 8 kB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.432, allocations: 3.984 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.432, allocations: 0 / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.432, allocations: 3.938 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.432, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-06/0.432, allocations: 4 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.4321, allocations: 3.984 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.4321, allocations: 0 / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.4322, allocations: 4 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4322, allocations: 0 / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4322, allocations: 0 / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4322, allocations: 4 kB / 1.327 GB, free: 0.8555 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.0004128/0.4326, allocations: 230.8 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.713e-05/0.4327, allocations: 16.02 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.627e-05/0.4327, allocations: 192 / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.4327, allocations: 34.69 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.4328, allocations: 0.9375 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.4329, allocations: 106.5 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.433, allocations: 8.375 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.433, allocations: 384 / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4332, allocations: 30.02 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4332, allocations: 4 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4332, allocations: 0 / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4332, allocations: 0 / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.4332, allocations: 4 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.4335, allocations: 120.7 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4336, allocations: 26.55 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.4336, allocations: 4.859 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4337, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.4337, allocations: 42.91 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4337, allocations: 0 / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.00026/0.434, allocations: 37.64 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.4341, allocations: 51.41 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4342, allocations: 89.86 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.4342, allocations: 29.7 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.4343, allocations: 84.14 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.4344, allocations: 7.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.4344, allocations: 9.719 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4346, allocations: 310.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.4346, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.4346, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.4347, allocations: 21.05 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4347, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.664e-05/0.4348, allocations: 33.64 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4348, allocations: 7.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4348, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4348, allocations: 4 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4349, allocations: 3.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4349, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.435, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.435, allocations: 0 / 1.329 GB, free: 15.36 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 0.0001563/0.4351, allocations: 114.4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.4351, allocations: 7.922 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.4352, allocations: 3 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4352, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4352, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4352, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4354, allocations: 124.8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4354, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.4354, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4354, allocations: 3.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4354, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4354, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4354, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.4355, allocations: 61.08 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.4355, allocations: 11.92 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.4356, allocations: 3.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.4356, allocations: 3.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.4356, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.4356, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.283e-05/0.4357, allocations: 75.28 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4357, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000334/0.436, allocations: 8.031 kB / 1.329 GB, free: 14.87 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.0008255/0.4368, allocations: 0.589 MB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.437, allocations: 7.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.437, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.812e-05/0.437, allocations: 4 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4373, allocations: 3.078 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.438, allocations: 115.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.141e-05/0.4381, allocations: 59.36 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.4381, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.4381, allocations: 7.438 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.4381, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.465, allocations: 1.063 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.8, allocations: 4.062 kB / 1.331 GB, free: 13.07 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: 19.16495202900842]