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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001371/0.001371, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9113/0.9113, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.384e-05, allocations: 2.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001424/0.001448, allocations: 0.6824 MB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.002333, allocations: 0.8043 MB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.002375, allocations: 4 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.002408, allocations: 3.984 kB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.002479, allocations: 7.875 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.854e-05/0.002548, allocations: 4 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.00275, allocations: 27.92 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.002866, allocations: 0 / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.002946, allocations: 19.98 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.002983, allocations: 3.984 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.003008, allocations: 4 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-06/0.003013, allocations: 0 / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.003033, allocations: 19.92 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.003054, allocations: 0 / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.003145, allocations: 27.89 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.003148, allocations: 0 / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.853e-06/0.00315, allocations: 0 / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.003157, allocations: 4 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB 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.0004074/0.003564, allocations: 258.3 kB / 0.9828 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.003618, allocations: 12.03 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.003652, allocations: 34.75 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.003683, allocations: 0.9375 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.003782, allocations: 121.7 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.003795, allocations: 384 / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.003805, allocations: 4.359 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.003945, allocations: 46.25 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.003951, allocations: 192 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.00396, allocations: 384 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.003967, allocations: 8.125 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.004054, allocations: 31.95 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.00433, allocations: 224 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.004408, allocations: 38.5 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.004477, allocations: 24.91 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.004487, allocations: 0 / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.004508, allocations: 34.5 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004509, allocations: 0 / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002195/0.004728, allocations: 89.58 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.004759, allocations: 51.41 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.004823, allocations: 101.8 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.004835, allocations: 29.7 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.004869, allocations: 84.08 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.004887, allocations: 7.891 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.004912, allocations: 17.72 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.004991, allocations: 314.8 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.005037, allocations: 15.98 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.005071, allocations: 20.11 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.005147, allocations: 36.83 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.005151, allocations: 3.984 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.005258, allocations: 69.55 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.005276, allocations: 6.812 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.005282, allocations: 4.094 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.005293, allocations: 0 / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.005361, allocations: 11.98 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005366, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.00539, allocations: 11.98 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.005393, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB 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 5.507e-05/0.005448, allocations: 105.8 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.005462, allocations: 15.83 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.005478, allocations: 3.312 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00548, allocations: 4 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005485, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.005489, allocations: 3.984 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.005597, allocations: 129 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.005599, allocations: 4 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.005626, allocations: 11.98 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.005629, allocations: 3.938 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.005636, allocations: 4 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005637, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.005639, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.005782, allocations: 163.5 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.005791, allocations: 3.938 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.005802, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.005837, allocations: 3.984 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.005882, allocations: 8 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.005886, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.005922, allocations: 83.27 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005922, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001463/0.006068, allocations: 4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB 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.0004233/0.006491, allocations: 0.7006 MB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.006652, allocations: 31.97 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.006657, allocations: 4 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.006706, allocations: 24.06 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.007014, allocations: 10.34 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.007443, allocations: 134.5 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.282e-05/0.007506, allocations: 63.34 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.007533, allocations: 3.938 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.007571, allocations: 12.5 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.007571, allocations: 0 / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.02723, allocations: 1.961 MB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.664, allocations: 1.172 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable addPar.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.920708890073001]