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.001708/0.001708, allocations: 116.3 kB / 17.13 MB, free: 6.027 MB / 14.72 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.001944/0.001944, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 1.15 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.9145, allocations: 176.1 MB / 1.322 GB, free: 7.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002794/0.9173, allocations: 1.475 MB / 1.323 GB, free: 6.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004673/0.9178, allocations: 192.5 kB / 1.324 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.9178, allocations: 5.719 kB / 1.324 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.9178, allocations: 0 / 1.324 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.9181, allocations: 28.97 kB / 1.324 GB, free: 6.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.9183, allocations: 57.53 kB / 1.324 GB, free: 6.453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.9184, allocations: 56.38 kB / 1.324 GB, free: 6.422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.9185, allocations: 11.2 kB / 1.324 GB, free: 6.414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.9186, allocations: 23.33 kB / 1.324 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.9187, allocations: 18.47 kB / 1.324 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.9187, allocations: 4.344 kB / 1.324 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.9187, allocations: 12.44 kB / 1.324 GB, free: 6.383 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.9188, allocations: 10.58 kB / 1.324 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.9188, allocations: 22.67 kB / 1.324 GB, free: 6.359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.9189, allocations: 44.48 kB / 1.324 GB, free: 6.332 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9189, allocations: 4.969 kB / 1.324 GB, free: 6.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9189, allocations: 0 / 1.324 GB, free: 6.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.919, allocations: 3.938 kB / 1.324 GB, free: 6.324 MB / 1.014 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.000648/0.9196, allocations: 351.2 kB / 1.324 GB, free: 5.953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9196, allocations: 14.64 kB / 1.324 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.9197, allocations: 10.27 kB / 1.324 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.9198, allocations: 176.2 kB / 1.324 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.9199, allocations: 1.906 kB / 1.324 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.9199, allocations: 1.5 kB / 1.324 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.92, allocations: 71.84 kB / 1.324 GB, free: 5.664 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.92, allocations: 192 / 1.324 GB, free: 5.664 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9201, allocations: 3.938 kB / 1.324 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.9201, allocations: 1.531 kB / 1.324 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.9201, allocations: 24.91 kB / 1.325 GB, free: 5.645 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.9205, allocations: 280.6 kB / 1.325 GB, free: 5.336 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.9207, allocations: 37.62 kB / 1.325 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.9207, allocations: 15.73 kB / 1.325 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.9207, allocations: 0 / 1.325 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.9209, allocations: 66.89 kB / 1.325 GB, free: 5.223 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9209, allocations: 0 / 1.325 GB, free: 5.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002394/0.9212, allocations: 71.42 kB / 1.325 GB, free: 5.172 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.9212, allocations: 108.6 kB / 1.325 GB, free: 5.043 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.9213, allocations: 105 kB / 1.325 GB, free: 4.938 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.9214, allocations: 25.7 kB / 1.325 GB, free: 4.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.9214, allocations: 86.47 kB / 1.325 GB, free: 4.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.9214, allocations: 13.27 kB / 1.325 GB, free: 4.809 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.9215, allocations: 28.45 kB / 1.325 GB, free: 4.781 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9216, allocations: 314.8 kB / 1.326 GB, free: 4.465 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.9217, allocations: 14.67 kB / 1.326 GB, free: 4.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.9217, allocations: 35.67 kB / 1.326 GB, free: 4.422 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.9218, allocations: 28.56 kB / 1.326 GB, free: 4.402 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9218, allocations: 4 kB / 1.326 GB, free: 4.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001042/0.9219, allocations: 57.25 kB / 1.326 GB, free: 4.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9219, allocations: 9.25 kB / 1.326 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9219, allocations: 0 / 1.326 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9219, allocations: 0 / 1.326 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.922, allocations: 5.156 kB / 1.326 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.922, allocations: 5.031 kB / 1.326 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.9221, allocations: 15.22 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.9221, allocations: 1.438 kB / 1.326 GB, free: 4.34 MB / 1.014 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 0.0001014/0.9222, allocations: 117.8 kB / 1.326 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.9222, allocations: 6.344 kB / 1.326 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.9223, allocations: 7.5 kB / 1.326 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9223, allocations: 9.266 kB / 1.326 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9223, allocations: 0 / 1.326 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9223, allocations: 5.203 kB / 1.326 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.9224, allocations: 165.2 kB / 1.326 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.9224, allocations: 5.344 kB / 1.326 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.9225, allocations: 6.969 kB / 1.326 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9225, allocations: 3.984 kB / 1.326 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.9225, allocations: 1.656 kB / 1.326 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9225, allocations: 0 / 1.326 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9225, allocations: 4 kB / 1.326 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9226, allocations: 94.48 kB / 1.326 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.9227, allocations: 84.22 kB / 1.326 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.9227, allocations: 0.9375 kB / 1.326 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9228, allocations: 9.266 kB / 1.326 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.9229, allocations: 10.33 kB / 1.326 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.9229, allocations: 1.219 kB / 1.326 GB, free: 3.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.9229, allocations: 89.41 kB / 1.326 GB, free: 3.691 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9229, allocations: 0 / 1.326 GB, free: 3.691 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001929/0.9231, allocations: 13.56 kB / 1.326 GB, free: 3.688 MB / 1.014 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.0001221/0.9232, allocations: 109 kB / 1.326 GB, free: 3.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.9234, allocations: 28.02 kB / 1.327 GB, free: 3.578 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9234, allocations: 0 / 1.327 GB, free: 3.578 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.9234, allocations: 16.19 kB / 1.327 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.9236, allocations: 7.688 kB / 1.327 GB, free: 3.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.9239, allocations: 154.5 kB / 1.327 GB, free: 3.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.9243, allocations: 0.6797 MB / 1.327 GB, free: 2.711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.9243, allocations: 10.31 kB / 1.327 GB, free: 2.703 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9243, allocations: 0 / 1.327 GB, free: 2.703 MB / 1.014 GB Notification: Performance of Templates: time 0.002436/0.9268, allocations: 0.8333 MB / 1.328 GB, free: 2.285 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.modTim,time [Calling sys.exit(0), Time elapsed: 11.407609435991617]