Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001019/0.001019, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.0009661/0.0009661, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 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 0.9301/0.9301, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.406e-05, allocations: 8.547 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001589/0.001603, allocations: 1.517 MB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.001903, allocations: 187.2 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.001943, allocations: 4.844 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.001969, allocations: 3.938 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.002154, allocations: 28.78 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.002278, allocations: 52.42 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.002357, allocations: 60.44 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.002424, allocations: 7.984 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.00249, allocations: 37.16 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.002548, allocations: 19.97 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.00257, allocations: 4 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.002581, allocations: 10.41 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002601, allocations: 15.91 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.002635, allocations: 23.92 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.833e-05/0.002713, allocations: 43.88 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.624e-06/0.002715, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002715, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.002718, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 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.0003992/0.003118, allocations: 381.1 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.003148, allocations: 13.56 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.003187, allocations: 4.938 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/0.003268, allocations: 116.6 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003279, allocations: 384 / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.003291, allocations: 9.656 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.003429, allocations: 145.3 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003436, allocations: 192 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.003446, allocations: 0.9062 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.003453, allocations: 384 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.003486, allocations: 24.44 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.003786, allocations: 276.6 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/0.00387, allocations: 47.86 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.003892, allocations: 15.77 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.003898, allocations: 4.531 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.085e-05/0.003989, allocations: 74.3 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.00399, allocations: 4 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001478/0.004138, allocations: 69.62 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.004182, allocations: 106.8 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.004249, allocations: 167.1 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.004261, allocations: 25.7 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.004302, allocations: 134.8 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.004319, allocations: 16.64 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.004352, allocations: 31.36 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004452, allocations: 0.489 MB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.004468, allocations: 4.688 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.004519, allocations: 94.45 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.004559, allocations: 36.8 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004561, allocations: 0.5 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.288e-05/0.004634, allocations: 73.64 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.004643, allocations: 4.844 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004647, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.004658, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.004714, allocations: 13.59 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004718, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.004766, allocations: 11.98 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.004771, allocations: 0 / 0.8158 GB, free: 13.09 MB / 0.7761 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 0.0001042/0.004875, allocations: 169.4 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.004892, allocations: 7.938 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.004909, allocations: 15.17 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00491, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.004913, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004916, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.022e-05/0.004986, allocations: 124.6 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004987, allocations: 0 / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.005009, allocations: 4 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005011, allocations: 0 / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005018, allocations: 3.938 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005019, allocations: 4.5 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00502, allocations: 1.938 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.304e-05/0.005113, allocations: 100.4 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.005139, allocations: 15.92 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.005157, allocations: 7.938 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.005204, allocations: 4 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.005227, allocations: 5.328 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.005232, allocations: 4 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.005268, allocations: 135.2 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005268, allocations: 0 / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001174/0.005385, allocations: 13.2 kB / 0.8164 GB, free: 12.43 MB / 0.7761 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 6.522e-05/0.00545, allocations: 106.1 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.005538, allocations: 36.58 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00554, allocations: 0 / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.642e-05/0.005566, allocations: 24.45 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.005665, allocations: 14.58 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.006019, allocations: 135.6 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.006046, allocations: 57.42 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.006072, allocations: 8.641 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.006098, allocations: 14.78 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.006098, allocations: 0 / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.002932/0.009031, allocations: 1.063 MB / 0.8178 GB, free: 11 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.000196324195713]