Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 91.61 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.001259/0.001259, 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.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.562/2.562, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8639, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001962/0.866, allocations: 1.17 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.8665, allocations: 180.9 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.8665, allocations: 1.188 kB / 0.9558 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.8666, allocations: 3.984 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.8668, allocations: 8.625 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.867, allocations: 49.36 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.8671, allocations: 58.08 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.8672, allocations: 3.25 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.8673, allocations: 23.73 kB / 0.9559 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.8673, allocations: 18.67 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.8674, allocations: 2.406 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.8674, allocations: 1.969 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.8674, allocations: 9.969 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.8675, allocations: 38.3 kB / 0.956 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.382e-05/0.8675, allocations: 26.38 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8675, allocations: 1.938 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8676, allocations: 0 / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8676, allocations: 0 / 0.956 GB, free: 6.473 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.0004845/0.8681, allocations: 346.5 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8681, allocations: 10.31 kB / 0.9563 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.8682, allocations: 13.77 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.8683, allocations: 166.3 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8683, allocations: 1.031 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.8683, allocations: 1.719 kB / 0.9565 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.8685, allocations: 78.34 kB / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8685, allocations: 0 / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.8686, allocations: 5.094 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.8686, allocations: 1.219 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.8687, allocations: 20.81 kB / 0.9566 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.8692, allocations: 269.2 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.8693, allocations: 47.62 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.8694, allocations: 19.66 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.8694, allocations: 1 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.8697, allocations: 66.56 kB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 3.868e-06/0.8697, allocations: 3.984 kB / 0.957 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002838/0.87, allocations: 74.88 kB / 0.9571 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.8701, allocations: 111.8 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8702, allocations: 100.8 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.8702, allocations: 26.89 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.8703, allocations: 97.27 kB / 0.9574 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.8703, allocations: 6.281 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.8703, allocations: 0 / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.8704, allocations: 315.9 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.8705, allocations: 9.406 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.8705, allocations: 36.44 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.8706, allocations: 10.53 kB / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8706, allocations: 0 / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.8707, allocations: 67.69 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.8707, allocations: 4.594 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8707, allocations: 5.016 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8708, allocations: 0 / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.8709, allocations: 9.328 kB / 0.9578 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.8709, allocations: 1.031 kB / 0.9578 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.871, allocations: 16.02 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.8711, allocations: 4.844 kB / 0.9579 GB, free: 4.516 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.8712, allocations: 117.1 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.8712, allocations: 2.344 kB / 0.958 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.8712, allocations: 4.562 kB / 0.958 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8712, allocations: 5.141 kB / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.8713, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.8713, allocations: 0 / 0.958 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.8714, allocations: 173.9 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8714, allocations: 1.062 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.8714, allocations: 6.875 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8715, allocations: 1.062 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8715, allocations: 0 / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.8715, allocations: 5.094 kB / 0.9582 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8715, allocations: 3.953 kB / 0.9582 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.8716, allocations: 91.48 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.8717, allocations: 95.34 kB / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.8717, allocations: 0.9688 kB / 0.9583 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.8718, allocations: 12.23 kB / 0.9584 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.8719, allocations: 6.109 kB / 0.9584 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.8719, allocations: 5.203 kB / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.8719, allocations: 84.5 kB / 0.9584 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8719, allocations: 0 / 0.9584 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002096/0.8721, allocations: 9.688 kB / 0.9585 GB, free: 3.875 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 (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.000128/0.8723, allocations: 112.5 kB / 0.9586 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.8724, allocations: 29.33 kB / 0.9586 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8724, allocations: 0 / 0.9586 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.8725, allocations: 16.92 kB / 0.9586 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.8726, allocations: 7.672 kB / 0.9586 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.873, allocations: 139.4 kB / 0.9587 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.8731, allocations: 0.6833 MB / 0.9594 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.8732, allocations: 5.641 kB / 0.9594 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.8732, allocations: 13.58 kB / 0.9594 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8732, allocations: 0 / 0.9594 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.003164/0.8764, allocations: 0.7961 MB / 0.9602 GB, free: 2.516 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches