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.001215/0.001215, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001429/0.001429, allocations: 177.3 kB / 15.95 MB, free: 216 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.322/1.322, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.332/2.332, allocations: 390.3 MB / 0.6653 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6163, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001365/0.6177, allocations: 1.152 MB / 0.9546 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.6181, allocations: 164.3 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.6181, allocations: 1.25 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.6181, allocations: 3.984 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.6183, allocations: 30.06 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.6185, allocations: 55.16 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.6186, allocations: 27.56 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.6187, allocations: 7.891 kB / 0.9549 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.6187, allocations: 23.23 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.6188, allocations: 17.8 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.6188, allocations: 2.562 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.6188, allocations: 1.75 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.6189, allocations: 19.25 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.6189, allocations: 29.52 kB / 0.955 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.582e-05/0.619, allocations: 34.38 kB / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.619, allocations: 0 / 0.955 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.796e-06/0.619, allocations: 4.719 kB / 0.955 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.619, allocations: 0 / 0.955 GB, free: 6.887 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.0004209/0.6194, allocations: 343.5 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6195, allocations: 8.781 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.6195, allocations: 14.17 kB / 0.9554 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.6196, allocations: 174.2 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6196, allocations: 1.062 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.6196, allocations: 6.344 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6198, allocations: 70.66 kB / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.6198, allocations: 0 / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.6198, allocations: 0 / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.6198, allocations: 1.375 kB / 0.9556 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/0.6199, allocations: 21.02 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.6202, allocations: 276.6 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.6203, allocations: 43.97 kB / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.6203, allocations: 0 / 0.956 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.6204, allocations: 71.84 kB / 0.956 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6205, allocations: 1.406 kB / 0.956 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001855/0.6206, allocations: 78.11 kB / 0.9561 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.6207, allocations: 107.9 kB / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.6208, allocations: 100.4 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.6208, allocations: 26.95 kB / 0.9563 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.6208, allocations: 86.16 kB / 0.9564 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.6208, allocations: 9.25 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.6208, allocations: 5.375 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.6209, allocations: 314.8 kB / 0.9567 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.687e-05/0.6209, allocations: 14.14 kB / 0.9567 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.621, allocations: 36.08 kB / 0.9568 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.621, allocations: 8.969 kB / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.621, allocations: 1.406 kB / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.6e-05/0.6211, allocations: 59.88 kB / 0.9568 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6211, allocations: 5.719 kB / 0.9568 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6211, allocations: 9.453 kB / 0.9569 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6211, allocations: 3.953 kB / 0.9569 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.6212, allocations: 13.52 kB / 0.9569 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6212, allocations: 0 / 0.9569 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.6213, allocations: 17.08 kB / 0.9569 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6214, allocations: 0 / 0.9569 GB, free: 4.945 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 5.971e-05/0.6214, allocations: 114 kB / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.6214, allocations: 2.75 kB / 0.957 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.6215, allocations: 11.5 kB / 0.957 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6215, allocations: 9.078 kB / 0.957 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6215, allocations: 1.438 kB / 0.957 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6215, allocations: 3.984 kB / 0.957 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.909e-05/0.6216, allocations: 169.3 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6216, allocations: 1.812 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.6216, allocations: 1.375 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6216, allocations: 1.344 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6216, allocations: 0 / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6216, allocations: 1.781 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6216, allocations: 7.938 kB / 0.9572 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.6217, allocations: 90.31 kB / 0.9573 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.6218, allocations: 88.12 kB / 0.9574 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.6218, allocations: 4.906 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6219, allocations: 11.3 kB / 0.9574 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.622, allocations: 10.61 kB / 0.9574 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.622, allocations: 4.797 kB / 0.9574 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.622, allocations: 88.5 kB / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.622, allocations: 0 / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001998/0.6222, allocations: 11.38 kB / 0.9575 GB, free: 4.297 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 9.318e-05/0.6223, allocations: 102.9 kB / 0.9576 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.6224, allocations: 28.98 kB / 0.9576 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6225, allocations: 0.9688 kB / 0.9576 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.6225, allocations: 21.08 kB / 0.9576 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.6226, allocations: 11 kB / 0.9576 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.6229, allocations: 130.6 kB / 0.9578 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.623, allocations: 0.6854 MB / 0.9584 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.623, allocations: 4.156 kB / 0.9584 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.6231, allocations: 10.03 kB / 0.9585 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6231, allocations: 1.406 kB / 0.9585 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.002779/0.6258, allocations: 0.7907 MB / 0.9592 GB, free: 2.949 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches