Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001382/0.001382, allocations: 78.81 kB / 19.18 MB, free: 2.52 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.001534/0.001534, allocations: 164.6 kB / 22.45 MB, free: 5.375 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.83e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002582/0.002611, allocations: 1.476 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004597/0.00307, allocations: 175.3 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.003108, allocations: 4 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.003135, allocations: 0 / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.003347, allocations: 31.72 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.003537, allocations: 58.28 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.003653, allocations: 63.72 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.003743, allocations: 7.938 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.003828, allocations: 39.95 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.0039, allocations: 15.92 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.003929, allocations: 8 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.003947, allocations: 8 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.003978, allocations: 15.97 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.004025, allocations: 19.92 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.004142, allocations: 55.84 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004145, allocations: 0 / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004146, allocations: 0 / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.004152, allocations: 0 / 0.9834 GB, free: 9.957 MB / 0.9356 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.0005342/0.004686, allocations: 286.2 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.004722, allocations: 8.031 kB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.00476, allocations: 4.938 kB / 0.9837 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.004879, allocations: 121.7 kB / 0.9838 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.004893, allocations: 384 / 0.9838 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.00491, allocations: 4.375 kB / 0.9838 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.00511, allocations: 136.2 kB / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.005119, allocations: 4.125 kB / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005132, allocations: 384 / 0.9839 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.005139, allocations: 4.375 kB / 0.9839 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.005195, allocations: 15.94 kB / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.005626, allocations: 220.5 kB / 0.9841 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.005749, allocations: 46.56 kB / 0.9842 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.00579, allocations: 20.8 kB / 0.9842 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.005801, allocations: 0 / 0.9842 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.005971, allocations: 75.36 kB / 0.9843 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.005972, allocations: 0 / 0.9843 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002084/0.00618, allocations: 81.62 kB / 0.9844 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.006253, allocations: 110.8 kB / 0.9845 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.006338, allocations: 101.9 kB / 0.9846 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.006361, allocations: 29.69 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.006418, allocations: 88.14 kB / 0.9847 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.006439, allocations: 15.84 kB / 0.9847 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.00649, allocations: 25.7 kB / 0.9847 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.006623, allocations: 318.8 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.006662, allocations: 15.98 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.006764, allocations: 89.97 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.006831, allocations: 24.94 kB / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.006832, allocations: 4 kB / 0.9851 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.006966, allocations: 85.47 kB / 0.9852 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.006979, allocations: 4 kB / 0.9852 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006983, allocations: 0 / 0.9852 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006995, allocations: 0 / 0.9852 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.007071, allocations: 16.03 kB / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.007076, allocations: 0 / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.007192, allocations: 11.94 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.007203, allocations: 4 kB / 0.9853 GB, free: 7.789 MB / 0.9356 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 9.975e-05/0.007302, allocations: 117.8 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.007319, allocations: 3.938 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.007339, allocations: 7.812 kB / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007341, allocations: 0 / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.007345, allocations: 0 / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007348, allocations: 4 kB / 0.9854 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.00746, allocations: 113.3 kB / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007461, allocations: 0 / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.007485, allocations: 4.5 kB / 0.9855 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.007487, allocations: 0 / 0.9855 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.007502, allocations: 7.922 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.007506, allocations: 8.172 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.007507, allocations: 0 / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.007648, allocations: 97.02 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.007687, allocations: 11.98 kB / 0.9856 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.007713, allocations: 3.938 kB / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.007822, allocations: 15.98 kB / 0.9856 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.007861, allocations: 3.984 kB / 0.9856 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.007869, allocations: 4 kB / 0.9856 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.007921, allocations: 83.28 kB / 0.9857 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007921, allocations: 0 / 0.9857 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002049/0.008126, allocations: 16 kB / 0.9857 GB, free: 7.242 MB / 0.9356 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 0.0001281/0.008254, allocations: 99.23 kB / 0.9858 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.008388, allocations: 43.92 kB / 0.9859 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.00839, allocations: 0 / 0.9859 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.008432, allocations: 19.98 kB / 0.9859 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.008592, allocations: 8 kB / 0.9859 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.008904, allocations: 132.7 kB / 0.986 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.008967, allocations: 67.28 kB / 0.9861 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.009001, allocations: 7.938 kB / 0.9861 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.009036, allocations: 12.5 kB / 0.9861 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.009036, allocations: 0 / 0.9861 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.003631/0.01267, allocations: 0.9976 MB / 0.9871 GB, free: 5.859 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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: 7.9551739022135735]