Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009776, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008953/0.008953, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 8.531 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00183/0.3545, allocations: 1.202 MB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.3555, allocations: 458.7 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.3556, allocations: 4 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.3556, allocations: 3.938 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3559, allocations: 27.84 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.165e-05/0.356, allocations: 12 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.3561, allocations: 59.7 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.3562, allocations: 4 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3563, allocations: 19.92 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.3564, allocations: 23.92 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3564, allocations: 4 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.3564, allocations: 0 / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3565, allocations: 7.969 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.3565, allocations: 45.58 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.3566, allocations: 40.09 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3566, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3566, allocations: 0 / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3566, allocations: 0 / 1.061 GB, free: 3.551 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005582/0.3572, allocations: 351.4 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3572, allocations: 12.03 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.3573, allocations: 0.9375 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3574, allocations: 184.2 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3575, allocations: 4.375 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3575, allocations: 384 / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3576, allocations: 61.98 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3576, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3576, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3577, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.3577, allocations: 16 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3581, allocations: 268.8 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3582, allocations: 46.56 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.3582, allocations: 24.94 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.3583, allocations: 0 / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3584, allocations: 67.39 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 3.046e-06/0.3584, allocations: 0 / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002106/0.3587, allocations: 85.52 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3587, allocations: 55.41 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.3588, allocations: 105.8 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3588, allocations: 33.7 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.3589, allocations: 84.08 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3589, allocations: 19.81 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.3589, allocations: 13.66 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.359, allocations: 322.8 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.3591, allocations: 12 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.3591, allocations: 15.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.3592, allocations: 32.73 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3592, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.3593, allocations: 61.69 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3593, allocations: 9.562 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3593, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.3593, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.3594, allocations: 8 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3594, allocations: 320 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3595, allocations: 15.89 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3595, allocations: 448 / 1.062 GB, free: 1.445 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.277e-05/0.3596, allocations: 123.2 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.3596, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3597, allocations: 15.97 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3597, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3597, allocations: 4 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3597, allocations: 3.984 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3598, allocations: 173.6 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3598, allocations: 0 / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.3599, allocations: 4 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3599, allocations: 4 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.3599, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3599, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3599, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3601, allocations: 105 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.3601, allocations: 81.11 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3601, allocations: 0 / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.3602, allocations: 15.92 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.3602, allocations: 0 / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3603, allocations: 4 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.3603, allocations: 95.25 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3603, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001838/0.3605, allocations: 11.94 kB / 1.063 GB, free: 0.7188 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001129/0.3606, allocations: 103.2 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.3608, allocations: 39.92 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3608, allocations: 0 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.3608, allocations: 19.92 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.361, allocations: 9.875 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.3613, allocations: 150.6 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3616, allocations: 0.6837 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.3616, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3617, allocations: 7.438 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3617, allocations: 3.938 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.002599/0.3643, allocations: 0.5016 MB / 1.064 GB, free: 15.15 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches