Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33: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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003078/0.0003078, allocations: 0 / 0, free: 0 / 0 " [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.0003653/0.0003653, allocations: 0 / 0, free: 0 / 0 " [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.2885/0.2885, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.6936/0.6936, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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: simulate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 5.692e-05/5.876e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002342/0.002401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002679/0.00508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.005122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.005154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.005234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 8.345e-05/0.005317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001384/0.005456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.005534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.005638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.00567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.005693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.005702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.005724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.005749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.005855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.005867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.909e-06/0.005872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.456e-05/0.005886, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007686/0.006655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.166e-05/0.006747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.00685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.007072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.007107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.00714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.007453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.007471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.007495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.007505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.007608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.008148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.008295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.008373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.008419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 0.003022/0.01144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 0.0003351/0.01178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.0119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.01191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.01195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.01198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.01204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002179/0.01226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.01232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.01239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002483/0.01264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.01266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.01279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.01279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.179e-05/0.01295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.01309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.01374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.01381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.01406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.01412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.01426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.003052/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.054e-06/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009862/0.01836, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001718/0.01854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001376/0.01867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.01872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.01969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.02012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.02016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 3.929e-05/0.0202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.02027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.375e-05/0.0203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003836/0.02413, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.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: 2.5579393287189305]