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.001003/0.001003, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001037/0.001037, allocations: 169 kB / 23.02 MB, free: 1.551 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.9574/0.9574, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.082/2.082, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.352e-06/1.352e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.11e-05, allocations: 5.438 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.0022/0.002221, allocations: 1.517 MB / 0.8797 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.00264, allocations: 192.9 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.002689, allocations: 0.7656 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.002724, allocations: 9.016 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.00297, allocations: 23.2 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.003152, allocations: 60.44 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.003255, allocations: 63.78 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00336, allocations: 5.125 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.00344, allocations: 35.95 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.003519, allocations: 19.92 kB / 0.8801 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003543, allocations: 5.062 kB / 0.8801 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.003558, allocations: 4 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.003585, allocations: 19.97 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.003629, allocations: 20.95 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.003745, allocations: 39.94 kB / 0.8802 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003747, allocations: 1.125 kB / 0.8802 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003748, allocations: 0 / 0.8802 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.003754, allocations: 0 / 0.8802 GB, free: 4.316 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.0004416/0.004195, allocations: 389.5 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.00423, allocations: 8.031 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.004273, allocations: 8.891 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.00436, allocations: 109.7 kB / 0.8806 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.004374, allocations: 8.375 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.004389, allocations: 4.375 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.004527, allocations: 138.1 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.004539, allocations: 8.125 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.004551, allocations: 9.922 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.004559, allocations: 4.312 kB / 0.8808 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.004591, allocations: 11.94 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.004948, allocations: 281.2 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.005035, allocations: 51.03 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.005061, allocations: 19.62 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.005067, allocations: 0.5 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/0.005158, allocations: 73.92 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005159, allocations: 0 / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001566/0.005316, allocations: 70.78 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.005363, allocations: 110.7 kB / 0.8814 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.005434, allocations: 165.9 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.005447, allocations: 31.16 kB / 0.8816 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.005491, allocations: 138.8 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.005509, allocations: 7.906 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.005545, allocations: 31.36 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005655, allocations: 499.5 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.005676, allocations: 11.98 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.005726, allocations: 90.45 kB / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.005767, allocations: 27.69 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005769, allocations: 0 / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.416e-05/0.005843, allocations: 73.62 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.005854, allocations: 4 kB / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005858, allocations: 0 / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.005871, allocations: 0 / 0.8824 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.005932, allocations: 13.17 kB / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.005936, allocations: 240 / 0.8824 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.005984, allocations: 4 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.005992, allocations: 12.03 kB / 0.8825 GB, free: 1.688 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 6.2e-05/0.006054, allocations: 160.6 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.006067, allocations: 11.89 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.006088, allocations: 7.812 kB / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.00609, allocations: 0 / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006094, allocations: 0 / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006096, allocations: 0 / 0.8826 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.822e-05/0.006164, allocations: 124.6 kB / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006165, allocations: 0 / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.006176, allocations: 4 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006177, allocations: 7.938 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006185, allocations: 8.422 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006186, allocations: 0 / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006188, allocations: 7.984 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.343e-05/0.006271, allocations: 104.4 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.006298, allocations: 11.92 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.006315, allocations: 3.938 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.00635, allocations: 7.984 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.00638, allocations: 8 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.006383, allocations: 0 / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.00642, allocations: 131.2 kB / 0.883 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00642, allocations: 4 kB / 0.883 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001291/0.006549, allocations: 12 kB / 0.8831 GB, free: 1.012 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 6.848e-05/0.006618, allocations: 103.2 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.006712, allocations: 35.67 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.006713, allocations: 0 / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.006741, allocations: 19.67 kB / 0.8832 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.006848, allocations: 8 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.007245, allocations: 142.2 kB / 0.8833 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.007274, allocations: 59.34 kB / 0.8834 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.007301, allocations: 8 kB / 0.8834 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.007328, allocations: 12.5 kB / 0.8834 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.007329, allocations: 4 kB / 0.8834 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of Templates: time 0.002392/0.009721, allocations: 0.9851 MB / 0.8844 GB, free: 15.63 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.486497463192791]