Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.4 MB / 256.7 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 180.3 kB / 316 MB, free: 3.469 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 0.5667 GB, free: 15.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 82.39 kB / 0.671 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.13e-05, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6071/0.8288, allocations: 132.6 MB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.8292, allocations: 79.08 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007413/0.8366, allocations: 2.374 MB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.8367, allocations: 0 / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003766/0.8371, allocations: 333.5 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8371, allocations: 8.031 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.8372, allocations: 8 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.8374, allocations: 174.9 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.8374, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.8374, allocations: 3.938 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.578e-05/0.8375, allocations: 14.88 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.8376, allocations: 63.75 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8377, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.8377, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.8377, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.838, allocations: 246.1 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.59e-05/0.8381, allocations: 34.19 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.8382, allocations: 20.23 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.8382, allocations: 0 / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/0.8383, allocations: 56.12 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8383, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001711/0.8385, allocations: 60.09 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.8385, allocations: 102.8 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.8386, allocations: 100.7 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.8386, allocations: 25.7 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.8387, allocations: 80.14 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.8387, allocations: 14.75 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.8387, allocations: 4 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8388, allocations: 318.8 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.8389, allocations: 9.016 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.8389, allocations: 30.39 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.8389, allocations: 15.19 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.839, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.9e-05/0.8391, allocations: 56.5 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.8391, allocations: 4 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8391, allocations: 4.031 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8391, allocations: 3.906 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.8392, allocations: 11.98 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8392, allocations: 0 / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.8393, allocations: 8 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.8393, allocations: 7.922 kB / 1.018 GB, free: 2.098 MB / 0.6355 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.8394, allocations: 105 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.8394, allocations: 7.906 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.8395, allocations: 10.69 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.8395, allocations: 3.938 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8395, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8395, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.8396, allocations: 146.1 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8396, allocations: 3.906 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.8396, allocations: 4.031 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8396, allocations: 7.984 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.8396, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8397, allocations: 4 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8397, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.8398, allocations: 83.41 kB / 1.019 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.8398, allocations: 85.09 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.8399, allocations: 0 / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.84, allocations: 14.73 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.84, allocations: 11.98 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.84, allocations: 3.906 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.663e-05/0.8401, allocations: 87.09 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001847/0.8403, allocations: 12 kB / 1.019 GB, free: 1.461 MB / 0.6355 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.8404, allocations: 99.25 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/0.8405, allocations: 30.3 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8405, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.8406, allocations: 22.31 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.8407, allocations: 0 / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.8409, allocations: 66.67 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.8412, allocations: 0.6915 MB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8412, allocations: 0 / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of Templates: time 0.002588/0.8438, allocations: 0.8073 MB / 1.02 GB, free: 15.77 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches