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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.896/2.896, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12.41 kB / 0.9022 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 159.6 MB / 1.058 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0008289/0.349, allocations: 303.5 kB / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.3e-05/0.3491, allocations: 7.938 kB / 1.058 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.3491, allocations: 4 kB / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.3492, allocations: 0 / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.3492, allocations: 0 / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.637e-05/0.3492, allocations: 0 / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.3493, allocations: 4 kB / 1.058 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.3494, allocations: 4 kB / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.3494, allocations: 3.984 kB / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.3494, allocations: 0 / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3494, allocations: 0 / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-06/0.3494, allocations: 0 / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.3494, allocations: 0 / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.3495, allocations: 29.7 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.31e-05/0.3495, allocations: 0 / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3495, allocations: 0 / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3495, allocations: 0 / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.3496, allocations: 4 kB / 1.058 GB, free: 4.906 MB / 0.8106 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.0002727/0.3498, allocations: 311.3 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3499, allocations: 8.094 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.3499, allocations: 0 / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.35, allocations: 159.1 kB / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3501, allocations: 4 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.3501, allocations: 11.89 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.3502, allocations: 29.7 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3502, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3502, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3502, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.3503, allocations: 11.92 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.3504, allocations: 141.7 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.3505, allocations: 18.52 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.3505, allocations: 20.89 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3505, allocations: 3.953 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3505, allocations: 30.56 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3506, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.3507, allocations: 37.69 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3508, allocations: 51.41 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.3508, allocations: 89.98 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3508, allocations: 29.7 kB / 1.059 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.3509, allocations: 80.14 kB / 1.059 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3509, allocations: 0 / 1.059 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.3509, allocations: 0 / 1.059 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3511, allocations: 314.8 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.3511, allocations: 7.938 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.3511, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/0.3512, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3512, allocations: 4.062 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.3513, allocations: 37.69 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3513, allocations: 7.953 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.3513, allocations: 3.984 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3513, allocations: 0 / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.18e-05/0.3514, allocations: 4 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3514, allocations: 0 / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.3514, allocations: 0 / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3514, allocations: 0 / 1.06 GB, free: 3.301 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/0.3515, allocations: 113.9 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.3515, allocations: 0 / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.3516, allocations: 7.078 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3516, allocations: 4 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3516, allocations: 0 / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3516, allocations: 3.938 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3517, allocations: 149.7 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3517, allocations: 0 / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.3518, allocations: 4 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3518, allocations: 3.938 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3518, allocations: 8 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3518, allocations: 3.953 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3518, allocations: 0 / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.3519, allocations: 57.12 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.3519, allocations: 81.11 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.3519, allocations: 0 / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-06/0.352, allocations: 0 / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.352, allocations: 7.891 kB / 1.06 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.352, allocations: 4.031 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.352, allocations: 75.28 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.352, allocations: 0 / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002058/0.3522, allocations: 4 kB / 1.06 GB, free: 2.691 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.3524, allocations: 103.2 kB / 1.06 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.3525, allocations: 4 kB / 1.06 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3525, allocations: 0 / 1.06 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.3525, allocations: 8.062 kB / 1.06 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3527, allocations: 5.484 kB / 1.06 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.3529, allocations: 84.62 kB / 1.06 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3532, allocations: 0.6692 MB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.3533, allocations: 0 / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.3533, allocations: 7.438 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3533, allocations: 0 / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of Templates: time 0.002153/0.3555, allocations: 160.3 kB / 1.061 GB, free: 1.594 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches