Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.8 kB / 16.37 MB, free: 5.949 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.001356/0.001357, allocations: 199 kB / 17.31 MB, free: 5.574 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 69.53 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3459, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002928/0.3488, allocations: 1.458 MB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005529/0.3494, allocations: 187.3 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.3495, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.3495, allocations: 4 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.3498, allocations: 23.86 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.35, allocations: 59.84 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3501, allocations: 59.78 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3502, allocations: 4 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.3503, allocations: 19.98 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.3504, allocations: 27.84 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3504, allocations: 4 kB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3504, allocations: 4 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.3504, allocations: 19.92 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.3505, allocations: 15.92 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3506, allocations: 59.8 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3506, allocations: 0 / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3506, allocations: 0 / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3506, allocations: 0 / 0.953 GB, free: 6.098 MB / 0.7325 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.0006547/0.3513, allocations: 347.5 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3513, allocations: 12.03 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3514, allocations: 4.844 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3515, allocations: 176.3 kB / 0.9535 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3516, allocations: 4.375 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3516, allocations: 4.375 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3517, allocations: 72.81 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3517, allocations: 192 / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3518, allocations: 15.92 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3518, allocations: 0 / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.3518, allocations: 15.98 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3524, allocations: 280.7 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.3525, allocations: 34.58 kB / 0.9539 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3525, allocations: 20.94 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3526, allocations: 0 / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.3527, allocations: 67.33 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3527, allocations: 3.938 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002068/0.3529, allocations: 73.67 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.353, allocations: 106.8 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3532, allocations: 97.86 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3532, allocations: 33.7 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.3532, allocations: 92.02 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3533, allocations: 11.84 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3533, allocations: 21.7 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3534, allocations: 322.8 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.3535, allocations: 12 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.3535, allocations: 34.5 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.3536, allocations: 24.86 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3536, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.722e-05/0.3537, allocations: 57.69 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3537, allocations: 4 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3537, allocations: 3.938 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3537, allocations: 0 / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.3538, allocations: 20.45 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3538, allocations: 3.938 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3539, allocations: 14.56 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.354, allocations: 4 kB / 0.9549 GB, free: 3.883 MB / 0.7325 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.753e-05/0.3541, allocations: 117.8 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.3541, allocations: 4 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.3541, allocations: 3.5 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3541, allocations: 0 / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3541, allocations: 4 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3541, allocations: 4 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3543, allocations: 173.6 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3543, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.3543, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3543, allocations: 4 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3543, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3543, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3543, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3545, allocations: 104.9 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.3546, allocations: 89.23 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3546, allocations: 4 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3547, allocations: 11.97 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3548, allocations: 0 / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3548, allocations: 7.984 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.3548, allocations: 83.28 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3549, allocations: 0 / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00019/0.355, allocations: 12 kB / 0.9555 GB, free: 3.172 MB / 0.7325 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001176/0.3552, allocations: 107.2 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.3553, allocations: 27.98 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3553, allocations: 0 / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.3553, allocations: 19.92 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3555, allocations: 12.34 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.3558, allocations: 113.6 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.3563, allocations: 0.6883 MB / 0.9565 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.3564, allocations: 7.984 kB / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.3564, allocations: 11.44 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3564, allocations: 0 / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of Templates: time 0.00317/0.3596, allocations: 0.8853 MB / 0.9574 GB, free: 1.258 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches