Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001682/0.001682, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.198/2.198, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.67 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2621, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002846/0.2649, allocations: 1.466 MB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004268/0.2654, allocations: 175.4 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.2655, allocations: 0 / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.2655, allocations: 7.922 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2658, allocations: 23.86 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.266, allocations: 59.84 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.2661, allocations: 47.92 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.2662, allocations: 15.92 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.2663, allocations: 35.84 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.2663, allocations: 15.92 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.2664, allocations: 4 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.2664, allocations: 4 kB / 0.9521 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.2664, allocations: 11.98 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.2665, allocations: 27.86 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.2666, allocations: 44.09 kB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2666, allocations: 3.984 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2666, allocations: 4 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2666, allocations: 0 / 0.9522 GB, free: 6.902 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.0005174/0.2671, allocations: 352.8 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2672, allocations: 8.031 kB / 0.9525 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.2672, allocations: 8.844 kB / 0.9525 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2674, allocations: 168.3 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2674, allocations: 4.375 kB / 0.9527 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2674, allocations: 384 / 0.9527 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2676, allocations: 84.75 kB / 0.9528 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2676, allocations: 4.172 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2676, allocations: 3.938 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2676, allocations: 0 / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.2677, allocations: 15.98 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.2681, allocations: 284.7 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.2682, allocations: 42.56 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.2682, allocations: 12.86 kB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2682, allocations: 4 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.2684, allocations: 55.48 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2684, allocations: 0 / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.2686, allocations: 77.61 kB / 0.9532 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.2687, allocations: 110.8 kB / 0.9533 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.2688, allocations: 105.8 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2688, allocations: 25.7 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.2689, allocations: 88.05 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2689, allocations: 11.84 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.269, allocations: 25.7 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2691, allocations: 314.8 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.2691, allocations: 11.98 kB / 0.9539 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.2692, allocations: 34.58 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.2692, allocations: 32.78 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.2692, allocations: 384 / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.2694, allocations: 65.62 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2694, allocations: 11.94 kB / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2694, allocations: 0 / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2694, allocations: 0 / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.2695, allocations: 4 kB / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2695, allocations: 0 / 0.954 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2696, allocations: 19.92 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2696, allocations: 0 / 0.9541 GB, free: 4.695 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 9.421e-05/0.2697, allocations: 121.3 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.2697, allocations: 0 / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.2698, allocations: 15.48 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2698, allocations: 0 / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2698, allocations: 3.938 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2698, allocations: 0 / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2699, allocations: 169.6 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2699, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.27, allocations: 7.984 kB / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.27, allocations: 0 / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.27, allocations: 4 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.27, allocations: 0 / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.27, allocations: 4 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.2702, allocations: 85.23 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.2702, allocations: 89.02 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2703, allocations: 8.031 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2704, allocations: 7.984 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.2704, allocations: 7.984 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2704, allocations: 4 kB / 0.9546 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.2705, allocations: 87.34 kB / 0.9547 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2705, allocations: 3.938 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001921/0.2707, allocations: 12 kB / 0.9547 GB, free: 3.98 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.0001217/0.2708, allocations: 107.2 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.2709, allocations: 35.98 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2709, allocations: 0 / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.271, allocations: 15.94 kB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.2712, allocations: 11.94 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.2715, allocations: 139.3 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2718, allocations: 0.6922 MB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2718, allocations: 15.44 kB / 0.9557 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2718, allocations: 0 / 0.9557 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.002289/0.2741, allocations: 0.8294 MB / 0.9565 GB, free: 2.09 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time