Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 71.91 kB / 1.059 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2614, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001746/0.2632, allocations: 0.6038 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.264, allocations: 0.7923 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.264, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.2641, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.289e-05/0.2641, allocations: 3.938 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-05/0.2642, allocations: 8 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.2642, allocations: 15.92 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.2643, allocations: 11.94 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.2643, allocations: 11.97 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.2643, allocations: 4 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2644, allocations: 0 / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.2644, allocations: 4 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.2644, allocations: 11.94 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.2644, allocations: 3.984 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.417e-05/0.2645, allocations: 15.92 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2645, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2645, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2645, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004124/0.2649, allocations: 335.7 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2649, allocations: 12.03 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.891e-05/0.265, allocations: 30.75 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.737e-05/0.265, allocations: 4.938 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2651, allocations: 172.3 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.2651, allocations: 384 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2651, allocations: 4.375 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2653, allocations: 42.19 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2653, allocations: 3.938 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.2653, allocations: 0 / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2653, allocations: 0 / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2654, allocations: 35.95 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.2656, allocations: 153.7 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2657, allocations: 34.53 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.2658, allocations: 16.91 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.2658, allocations: 3.984 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.2658, allocations: 46.5 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2658, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002918/0.2661, allocations: 77.58 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2661, allocations: 55.41 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.2662, allocations: 97.84 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2662, allocations: 29.83 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.2662, allocations: 84.14 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2663, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.2663, allocations: 13.72 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2664, allocations: 310.8 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.2665, allocations: 15.98 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.2666, allocations: 15.97 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.2667, allocations: 40.83 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2667, allocations: 0 / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000178/0.2669, allocations: 65.56 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2669, allocations: 15.92 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2669, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2669, allocations: 0 / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.267, allocations: 8.031 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.267, allocations: 0 / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.267, allocations: 7.984 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.267, allocations: 0 / 1.219 GB, free: 12.48 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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 6.849e-05/0.2671, allocations: 109.8 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.2671, allocations: 3.938 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.2671, allocations: 3.125 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2671, allocations: 0 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2671, allocations: 7.984 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.2671, allocations: 3.938 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.2672, allocations: 153.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2672, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.2673, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2673, allocations: 7.922 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.2673, allocations: 4 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2673, allocations: 0 / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2673, allocations: 0 / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.2675, allocations: 85.11 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.2675, allocations: 81.09 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2676, allocations: 3.938 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.2676, allocations: 4 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.2676, allocations: 7.922 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2676, allocations: 4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.2677, allocations: 79.31 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2677, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001629/0.2678, allocations: 4 kB / 1.219 GB, free: 11.83 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0004875/0.2683, allocations: 0.6319 MB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.2685, allocations: 31.97 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2685, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.2686, allocations: 19.91 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2688, allocations: 10.12 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.2691, allocations: 135.2 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2693, allocations: 0.669 MB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.855e-05/0.2694, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2694, allocations: 15.42 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.2694, allocations: 0 / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.2927, allocations: 1.209 MB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.164, allocations: 6.125 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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: 12.44423003999691]