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.00188/0.00188, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.002154/0.002154, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.564/2.564, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.001965/0.001965, allocations: 75.89 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7552, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001822/0.757, allocations: 0.6123 MB / 1.214 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.7579, allocations: 0.781 MB / 1.214 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.7579, allocations: 1.125 kB / 1.214 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.758, allocations: 3.938 kB / 1.214 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.758, allocations: 4.969 kB / 1.214 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.618e-05/0.7581, allocations: 3.984 kB / 1.214 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.7581, allocations: 15.25 kB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.7582, allocations: 9.125 kB / 1.214 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.7582, allocations: 7.203 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.7582, allocations: 9.969 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.7583, allocations: 1.938 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.7583, allocations: 1.062 kB / 1.214 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.7583, allocations: 9.062 kB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.7583, allocations: 9.062 kB / 1.214 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.152e-05/0.7584, allocations: 11.09 kB / 1.214 GB, free: 2.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7584, allocations: 0.9688 kB / 1.214 GB, free: 2.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7584, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.7584, allocations: 0 / 1.214 GB, free: 2.695 MB / 0.92 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.0004769/0.7589, allocations: 337.6 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7589, allocations: 10.31 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.7589, allocations: 34.73 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.7589, allocations: 2.094 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.7591, allocations: 169.4 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.7591, allocations: 384 / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.7591, allocations: 1.469 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.7593, allocations: 51.2 kB / 1.215 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7593, allocations: 5.031 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.7593, allocations: 0 / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7593, allocations: 0 / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.7594, allocations: 28.78 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.7596, allocations: 151.9 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.7597, allocations: 35.41 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.7598, allocations: 21.69 kB / 1.215 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.7598, allocations: 8.734 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.7598, allocations: 39.17 kB / 1.215 GB, free: 1.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.7599, allocations: 0 / 1.215 GB, free: 1.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003087/0.7602, allocations: 76.31 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.7602, allocations: 52.38 kB / 1.215 GB, free: 1.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.7603, allocations: 107 kB / 1.215 GB, free: 1.492 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.7603, allocations: 25.7 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.7603, allocations: 81.17 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.7604, allocations: 1.062 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.7604, allocations: 10.75 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7605, allocations: 327.9 kB / 1.216 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.7606, allocations: 12.92 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.7607, allocations: 11.77 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.7608, allocations: 33.45 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7608, allocations: 0.75 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001832/0.761, allocations: 69.55 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.761, allocations: 9.094 kB / 1.216 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.761, allocations: 3.938 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.761, allocations: 1.094 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.7611, allocations: 12.39 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7611, allocations: 0 / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.7611, allocations: 4.156 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.7611, allocations: 0 / 1.216 GB, free: 0.9375 MB / 0.92 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 7.685e-05/0.7612, allocations: 119.7 kB / 1.216 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.7612, allocations: 5 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.7613, allocations: 4.25 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.7613, allocations: 0 / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7613, allocations: 1.25 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.7613, allocations: 0 / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.7614, allocations: 152.7 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7614, allocations: 0 / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.7614, allocations: 9.359 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7614, allocations: 7.938 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.7614, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7614, allocations: 1.031 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7614, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.7616, allocations: 89.47 kB / 1.216 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.7617, allocations: 77.89 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.7617, allocations: 8.781 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.7617, allocations: 8.109 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.7618, allocations: 1.125 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.7618, allocations: 0 / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.7618, allocations: 82.56 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7618, allocations: 3.938 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.00017/0.762, allocations: 3.25 kB / 1.217 GB, free: 328 kB / 0.92 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.0005448/0.7625, allocations: 0.6236 MB / 1.217 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.7627, allocations: 37.98 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7627, allocations: 0 / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.7628, allocations: 22.02 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.763, allocations: 2.125 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.7634, allocations: 135.4 kB / 1.217 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.7637, allocations: 0.6754 MB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.7637, allocations: 1.125 kB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.7637, allocations: 8.5 kB / 1.218 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7637, allocations: 4.062 kB / 1.218 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.7881, allocations: 1.231 MB / 1.219 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.926, allocations: 9.094 kB / 1.219 GB, free: 14.1 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.624944822397083]