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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001069/0.001069, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008258/0.008258, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.638/1.638, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8408, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001605/0.8425, allocations: 1.177 MB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.8429, allocations: 184.8 kB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.843, allocations: 5 kB / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.843, allocations: 0 / 0.9564 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.8432, allocations: 16.66 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.8434, allocations: 58.16 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.8435, allocations: 52.14 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.8436, allocations: 11.14 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.8436, allocations: 19.53 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.8437, allocations: 25.48 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.8437, allocations: 3.438 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.8438, allocations: 2.219 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.8438, allocations: 6.156 kB / 0.9566 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.8438, allocations: 48.72 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.8439, allocations: 45.59 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8439, allocations: 1.031 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8439, allocations: 4 kB / 0.9566 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.844, allocations: 3.938 kB / 0.9566 GB, free: 6.441 MB / 0.7169 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.0004318/0.8444, allocations: 342.6 kB / 0.957 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8444, allocations: 9.656 kB / 0.957 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.8445, allocations: 6.125 kB / 0.957 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.8446, allocations: 168 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.8446, allocations: 1.5 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.8446, allocations: 6.656 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.8448, allocations: 78.78 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8448, allocations: 192 / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.8448, allocations: 4.812 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.8448, allocations: 1.094 kB / 0.9572 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.8449, allocations: 20.55 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.8452, allocations: 278.4 kB / 0.9575 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.245e-05/0.8453, allocations: 38.73 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.8454, allocations: 19.09 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.8454, allocations: 1.25 kB / 0.9576 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.8455, allocations: 70.25 kB / 0.9576 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.8456, allocations: 4 kB / 0.9577 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.8458, allocations: 67.5 kB / 0.9577 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.8458, allocations: 111.8 kB / 0.9578 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.8459, allocations: 101.7 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.8459, allocations: 25.7 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.846, allocations: 90.53 kB / 0.958 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.846, allocations: 8.938 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.846, allocations: 16.09 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.8461, allocations: 316 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.8461, allocations: 17.14 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.8461, allocations: 28.73 kB / 0.9584 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.8462, allocations: 27.88 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.8462, allocations: 0 / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.268e-05/0.8463, allocations: 64.44 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8463, allocations: 8.844 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8463, allocations: 0 / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8463, allocations: 1.281 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.8464, allocations: 13.91 kB / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8464, allocations: 0 / 0.9585 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.8465, allocations: 12.59 kB / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.8466, allocations: 1.312 kB / 0.9585 GB, free: 4.469 MB / 0.7169 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 6.359e-05/0.8466, allocations: 118.2 kB / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.8466, allocations: 1.469 kB / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.8467, allocations: 9.203 kB / 0.9586 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.8467, allocations: 4.625 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8467, allocations: 1.5 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8467, allocations: 3.984 kB / 0.9587 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.257e-05/0.8468, allocations: 178.2 kB / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.8468, allocations: 0 / 0.9588 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.8468, allocations: 7.641 kB / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.8468, allocations: 0 / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.8468, allocations: 0 / 0.9588 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8469, allocations: 6.141 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8469, allocations: 3.938 kB / 0.9588 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.847, allocations: 90.19 kB / 0.9589 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.847, allocations: 92.97 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.847, allocations: 0 / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.8471, allocations: 15.8 kB / 0.959 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.8472, allocations: 6.297 kB / 0.959 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.8472, allocations: 1.062 kB / 0.959 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.8472, allocations: 84.41 kB / 0.9591 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8472, allocations: 4 kB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001885/0.8474, allocations: 14.81 kB / 0.9591 GB, free: 3.812 MB / 0.7169 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 9.075e-05/0.8475, allocations: 102.9 kB / 0.9592 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.8476, allocations: 33.14 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8476, allocations: 0 / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.8477, allocations: 13.97 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.8478, allocations: 6.469 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.8481, allocations: 138.4 kB / 0.9594 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.594e-05/0.8482, allocations: 0.6804 MB / 0.9601 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.8483, allocations: 8.172 kB / 0.9601 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.8483, allocations: 9.906 kB / 0.9601 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8483, allocations: 0 / 0.9601 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of Templates: time 0.002844/0.8511, allocations: 0.8284 MB / 0.9609 GB, free: 2.418 MB / 0.7169 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 -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/jenkins/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