Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.177/2.177, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.562e-05, allocations: 4.844 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002201/0.002226, allocations: 1.51 MB / 0.8809 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004021/0.002628, allocations: 196.3 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.002673, allocations: 0.7188 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.002705, allocations: 3.938 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.002939, allocations: 30.53 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.003095, allocations: 55.8 kB / 0.8812 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.003181, allocations: 63.84 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.00326, allocations: 4.484 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.003333, allocations: 45.58 kB / 0.8813 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.003402, allocations: 11.98 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.003424, allocations: 4 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.003435, allocations: 4 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.003461, allocations: 23.91 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.003494, allocations: 16.48 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.003584, allocations: 45.22 kB / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003587, allocations: 0 / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003588, allocations: 0 / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.003592, allocations: 0 / 0.8814 GB, free: 4.016 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004238/0.004016, allocations: 389.8 kB / 0.8818 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.004049, allocations: 8.031 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.004088, allocations: 8.891 kB / 0.8818 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.004176, allocations: 114.2 kB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.00419, allocations: 4.375 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.004204, allocations: 8.375 kB / 0.8819 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.004332, allocations: 133.4 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004339, allocations: 2.156 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.004349, allocations: 4.375 kB / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.004354, allocations: 384 / 0.882 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.004379, allocations: 19.86 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.004698, allocations: 260.4 kB / 0.8823 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.004777, allocations: 45.61 kB / 0.8823 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.004796, allocations: 15.69 kB / 0.8823 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.004801, allocations: 3.938 kB / 0.8824 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.2e-05/0.004893, allocations: 61.14 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.004894, allocations: 0 / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001457/0.00504, allocations: 73.61 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.005094, allocations: 110.8 kB / 0.8826 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.005165, allocations: 165.9 kB / 0.8827 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.005184, allocations: 33.7 kB / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.005233, allocations: 130.8 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.005253, allocations: 15.89 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.00529, allocations: 31.36 kB / 0.8829 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.005415, allocations: 0.4884 MB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.005433, allocations: 4.5 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.005486, allocations: 90.39 kB / 0.8835 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.005523, allocations: 23.69 kB / 0.8835 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005525, allocations: 4.031 kB / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.942e-05/0.005604, allocations: 69.61 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005617, allocations: 7.938 kB / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.005622, allocations: 0 / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.005631, allocations: 3.984 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.005691, allocations: 12 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.005695, allocations: 4.234 kB / 0.8836 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.005746, allocations: 7.984 kB / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.005752, allocations: 0 / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 7.749e-05/0.005829, allocations: 164.6 kB / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.005842, allocations: 7.953 kB / 0.8838 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.00586, allocations: 7.75 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.005862, allocations: 0 / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.005864, allocations: 0 / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.005867, allocations: 0 / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.174e-05/0.005949, allocations: 109.2 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.005951, allocations: 3.984 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.005964, allocations: 4 kB / 0.8839 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.005966, allocations: 0 / 0.8839 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005972, allocations: 7.922 kB / 0.8839 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005974, allocations: 7.984 kB / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.005976, allocations: 3.938 kB / 0.8839 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.584e-05/0.006072, allocations: 100.4 kB / 0.884 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.006099, allocations: 11.92 kB / 0.884 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.006114, allocations: 0 / 0.884 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.00615, allocations: 7.984 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.006177, allocations: 7.938 kB / 0.8841 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.006181, allocations: 4 kB / 0.8841 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.006222, allocations: 131.2 kB / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006222, allocations: 0 / 0.8842 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001268/0.006349, allocations: 12 kB / 0.8842 GB, free: 0.793 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.781e-05/0.006447, allocations: 103.2 kB / 0.8843 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.006546, allocations: 39.61 kB / 0.8843 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.006548, allocations: 0 / 0.8843 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.006575, allocations: 27.59 kB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.006693, allocations: 10.84 kB / 0.8844 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.007065, allocations: 138.2 kB / 0.8845 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.007097, allocations: 60.89 kB / 0.8846 GB, free: 368 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.007132, allocations: 8 kB / 0.8846 GB, free: 360 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.241e-05/0.007214, allocations: 90.17 kB / 0.8847 GB, free: 268 kB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.007215, allocations: 0 / 0.8847 GB, free: 268 kB / 0.8386 GB Notification: Performance of Templates: time 0.002768/0.009983, allocations: 1.094 MB / 0.8857 GB, free: 15.22 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.389443788211793]