Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005635/0.005635, allocations: 98.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 195.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.448/2.448, allocations: 482.6 MB / 0.755 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 61.91 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 162.3 MB / 1.242 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001529/0.2644, allocations: 0.6144 MB / 1.242 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.2653, allocations: 0.7809 MB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.2653, allocations: 0 / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.2653, allocations: 0 / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.2654, allocations: 7.938 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.111e-05/0.2654, allocations: 8 kB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.2655, allocations: 19.86 kB / 1.243 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.2655, allocations: 8 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.2656, allocations: 11.98 kB / 1.243 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.2656, allocations: 0 / 1.243 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2656, allocations: 4 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-06/0.2656, allocations: 0 / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.2657, allocations: 7.938 kB / 1.243 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.2657, allocations: 7.969 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.826e-05/0.2657, allocations: 17.33 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2658, allocations: 4 kB / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2658, allocations: 0 / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2658, allocations: 4 kB / 1.243 GB, free: 7.543 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.0003807/0.2662, allocations: 331.7 kB / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2662, allocations: 12.03 kB / 1.244 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.2662, allocations: 30.75 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.603e-05/0.2663, allocations: 0.9375 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2664, allocations: 172.3 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.2664, allocations: 384 / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.2664, allocations: 4.375 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2666, allocations: 46.19 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2666, allocations: 3.938 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.2666, allocations: 3.984 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2666, allocations: 3.938 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2667, allocations: 27.95 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2669, allocations: 157.7 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.267, allocations: 30.59 kB / 1.244 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.2671, allocations: 20.91 kB / 1.244 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.2671, allocations: 3.938 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2671, allocations: 30.56 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2671, allocations: 0 / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002951/0.2674, allocations: 85.58 kB / 1.244 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.2675, allocations: 51.41 kB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.2675, allocations: 97.84 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2676, allocations: 25.7 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2676, allocations: 84.14 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.2676, allocations: 7.938 kB / 1.245 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.2677, allocations: 13.84 kB / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2678, allocations: 310.8 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.2679, allocations: 15.98 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.268, allocations: 19.91 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2681, allocations: 40.89 kB / 1.245 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2681, allocations: 3.938 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000167/0.2683, allocations: 61.66 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2683, allocations: 7.938 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2683, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.2683, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.2684, allocations: 4 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.2684, allocations: 0 / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.2685, allocations: 15.97 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2685, allocations: 0 / 1.245 GB, free: 5.617 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 7.295e-05/0.2685, allocations: 113.8 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.2686, allocations: 3.938 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.2686, allocations: 7.125 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2686, allocations: 3.984 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2686, allocations: 4 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2686, allocations: 0 / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2687, allocations: 145.7 kB / 1.245 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2687, allocations: 8 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.2688, allocations: 11.98 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2688, allocations: 3.938 kB / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.2688, allocations: 0 / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2688, allocations: 0 / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2688, allocations: 0 / 1.245 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.269, allocations: 85.11 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.269, allocations: 85.03 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.269, allocations: 7.938 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.2691, allocations: 0 / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.2691, allocations: 7.984 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2691, allocations: 0 / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.2692, allocations: 83.22 kB / 1.246 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2692, allocations: 0 / 1.246 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001569/0.2693, allocations: 0 / 1.246 GB, free: 4.965 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.0004927/0.2698, allocations: 0.6247 MB / 1.246 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.27, allocations: 39.98 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.27, allocations: 0 / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.2701, allocations: 15.92 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.2703, allocations: 8 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.2706, allocations: 123 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2709, allocations: 0.6732 MB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.2709, allocations: 4.125 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.2709, allocations: 11.42 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2709, allocations: 0 / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8172/1.088, allocations: 1.223 MB / 1.248 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/9.434, allocations: 5.312 kB / 1.248 GB, free: 2.25 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches