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.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.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.001481/0.001481, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001733/0.001733, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.304/2.304, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.58 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2684, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002808/0.2713, allocations: 1.514 MB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.2717, allocations: 187.4 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.2718, allocations: 0 / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.2719, allocations: 3.938 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.2721, allocations: 11.94 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2723, allocations: 55.86 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.168e-05/0.2724, allocations: 59.83 kB / 0.9516 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.2725, allocations: 4 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.2726, allocations: 31.92 kB / 0.9516 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.2726, allocations: 15.92 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2727, allocations: 7.984 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2727, allocations: 8 kB / 0.9516 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.2727, allocations: 7.984 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2728, allocations: 27.86 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.2728, allocations: 32.16 kB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2729, allocations: 0 / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2729, allocations: 0 / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2729, allocations: 4 kB / 0.9517 GB, free: 7.254 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.0005029/0.2734, allocations: 352.8 kB / 0.952 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2734, allocations: 8.031 kB / 0.952 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2735, allocations: 8.844 kB / 0.952 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2736, allocations: 168.3 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2736, allocations: 384 / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2736, allocations: 8.312 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2738, allocations: 80.81 kB / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2738, allocations: 192 / 0.9523 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2738, allocations: 3.938 kB / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2738, allocations: 0 / 0.9523 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.853e-05/0.2739, allocations: 19.98 kB / 0.9523 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.2743, allocations: 280.7 kB / 0.9526 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.2744, allocations: 34.58 kB / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.2744, allocations: 28.92 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2744, allocations: 0 / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.2746, allocations: 59.39 kB / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.2746, allocations: 0 / 0.9527 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001978/0.2748, allocations: 73.62 kB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.2749, allocations: 106.8 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.275, allocations: 105.9 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.275, allocations: 25.7 kB / 0.953 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.275, allocations: 92.03 kB / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.2751, allocations: 11.84 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.2751, allocations: 25.7 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.2752, allocations: 318.7 kB / 0.9534 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.2753, allocations: 12 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.2753, allocations: 42.5 kB / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.2754, allocations: 28.8 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2754, allocations: 0 / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.2755, allocations: 57.69 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2755, allocations: 4 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2755, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2755, allocations: 0 / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.2756, allocations: 8.422 kB / 0.9536 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2756, allocations: 4 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2758, allocations: 15.89 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2758, allocations: 4.031 kB / 0.9536 GB, free: 5.047 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.597e-05/0.2759, allocations: 123.7 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.2759, allocations: 4 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.2759, allocations: 7.5 kB / 0.9537 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2759, allocations: 0 / 0.9537 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2759, allocations: 0 / 0.9537 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2759, allocations: 0 / 0.9537 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.2761, allocations: 173.6 kB / 0.9539 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2761, allocations: 4 kB / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2761, allocations: 4 kB / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2761, allocations: 0 / 0.9539 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2761, allocations: 4 kB / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2761, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2761, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2763, allocations: 89.05 kB / 0.954 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.2763, allocations: 89 kB / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2764, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2765, allocations: 15.98 kB / 0.9541 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.2765, allocations: 7.938 kB / 0.9541 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2765, allocations: 7.984 kB / 0.9541 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.2766, allocations: 79.28 kB / 0.9542 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2766, allocations: 0 / 0.9542 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001963/0.2768, allocations: 12 kB / 0.9542 GB, free: 4.34 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.0001027/0.2769, allocations: 103.2 kB / 0.9543 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.277, allocations: 31.92 kB / 0.9543 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.277, allocations: 4 kB / 0.9543 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.2771, allocations: 28.14 kB / 0.9544 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.2772, allocations: 11.88 kB / 0.9544 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.2776, allocations: 155.3 kB / 0.9545 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2778, allocations: 0.6845 MB / 0.9552 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.2778, allocations: 15.42 kB / 0.9552 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.2778, allocations: 3.938 kB / 0.9552 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.002103/0.2799, allocations: 0.8265 MB / 0.956 GB, free: 2.43 MB / 0.7325 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/jenkins1/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