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.001764/0.001764, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002011/0.002011, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.349/3.349, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002083/0.002083, allocations: 71.3 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002851/0.4231, allocations: 1.482 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.4236, allocations: 179.5 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.4236, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.4236, allocations: 3.938 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.4239, allocations: 31.84 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.4241, allocations: 58.8 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.4242, allocations: 55.78 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4243, allocations: 11.94 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.4244, allocations: 23.97 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.4245, allocations: 19.97 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.4245, allocations: 7.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.4245, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.4245, allocations: 11.88 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.4246, allocations: 23.91 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.4247, allocations: 51.86 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4247, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4247, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.4247, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 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.000587/0.4253, allocations: 274.3 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4253, allocations: 8.031 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4254, allocations: 12.89 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.4255, allocations: 110.5 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4255, allocations: 384 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.4255, allocations: 4.375 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.4258, allocations: 136.2 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4258, allocations: 192 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4258, allocations: 3.938 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4258, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.51e-05/0.4259, allocations: 19.98 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.4262, allocations: 212.6 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4263, allocations: 42.45 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.4264, allocations: 20.88 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4264, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.4266, allocations: 67.38 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.4266, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.4268, allocations: 69.62 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.4269, allocations: 114.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.427, allocations: 97.86 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.427, allocations: 29.7 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.4271, allocations: 84.12 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.4271, allocations: 15.91 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.4272, allocations: 25.64 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4273, allocations: 314.8 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.4274, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.4275, allocations: 89.97 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.4275, allocations: 20.86 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4275, allocations: 3.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/0.4276, allocations: 65.62 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4277, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4277, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4277, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.4278, allocations: 7.984 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4278, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4279, allocations: 21.12 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4279, allocations: 4.031 kB / 1.329 GB, free: 13.81 MB / 1.029 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.0001078/0.428, allocations: 118.8 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.428, allocations: 0 / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.428, allocations: 11.69 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.428, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.428, allocations: 0 / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.428, allocations: 4 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.4282, allocations: 113.2 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4282, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.4282, allocations: 11.92 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4282, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4282, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4282, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4282, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4284, allocations: 89.06 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.4284, allocations: 11.94 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4284, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4285, allocations: 11.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.4286, allocations: 7.922 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4286, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.4286, allocations: 83.28 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4286, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002145/0.4289, allocations: 8 kB / 1.33 GB, free: 13.27 MB / 1.029 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.0001331/0.429, allocations: 111.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.4291, allocations: 27.98 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4291, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.4292, allocations: 16 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4293, allocations: 9.156 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.4297, allocations: 121.6 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.152e-05/0.4298, allocations: 67.34 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.4298, allocations: 4.328 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.4298, allocations: 15.42 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4298, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Templates: time 0.003806/0.4337, allocations: 0.97 MB / 1.331 GB, free: 11.93 MB / 1.029 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=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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.29324240423739]