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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005054/0.005054, allocations: 101.2 kB / 15.73 MB, free: 6.496 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.001404/0.001404, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2709, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001554/0.2725, allocations: 0.6036 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.2733, allocations: 0.7848 MB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.2733, allocations: 4 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.2733, allocations: 0 / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.2734, allocations: 7.938 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.017e-05/0.2734, allocations: 0 / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.2735, allocations: 23.92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2735, allocations: 8 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.2736, allocations: 11.97 kB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.041e-05/0.2736, allocations: 4 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.2737, allocations: 4 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-06/0.2737, allocations: 3.938 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2737, allocations: 7.938 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.2737, allocations: 7.984 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.799e-05/0.2738, allocations: 15.92 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2738, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2738, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2738, allocations: 4 kB / 1.168 GB, free: 5.762 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.0004035/0.2742, allocations: 330 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2743, allocations: 12.03 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.2743, allocations: 38.75 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.69e-05/0.2743, allocations: 0.9375 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2744, allocations: 172.3 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.2744, allocations: 384 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.2745, allocations: 384 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2746, allocations: 38.25 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2746, allocations: 3.938 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.2746, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2746, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2748, allocations: 39.89 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.2749, allocations: 153.7 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.275, allocations: 30.53 kB / 1.168 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.2751, allocations: 24.91 kB / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.2752, allocations: 0 / 1.168 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2752, allocations: 34.56 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.2752, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002913/0.2755, allocations: 81.52 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.2755, allocations: 51.41 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.2756, allocations: 101.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2756, allocations: 29.83 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.2757, allocations: 80.14 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2757, allocations: 11.94 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2757, allocations: 9.719 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2758, allocations: 310.8 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.2759, allocations: 15.97 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.276, allocations: 15.98 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2762, allocations: 40.89 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2762, allocations: 3.938 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001732/0.2763, allocations: 65.55 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2764, allocations: 7.938 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2764, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.2764, allocations: 32 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.2765, allocations: 12 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2765, allocations: 3.984 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2765, allocations: 8 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2765, allocations: 0 / 1.169 GB, free: 3.836 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 6.62e-05/0.2766, allocations: 110.5 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.2766, allocations: 3.938 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.2766, allocations: 7.109 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2766, allocations: 192 / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2766, allocations: 8 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2767, allocations: 3.984 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2768, allocations: 149.7 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2768, allocations: 0 / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.2768, allocations: 11.98 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2768, allocations: 3.938 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2768, allocations: 0 / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2768, allocations: 0 / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2768, allocations: 3.938 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.277, allocations: 85.09 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.2771, allocations: 77.11 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2771, allocations: 7.938 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.2771, allocations: 4 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.2772, allocations: 11.92 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2772, allocations: 0 / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.026e-05/0.2772, allocations: 83.31 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2772, allocations: 0 / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001605/0.2774, allocations: 0 / 1.17 GB, free: 3.18 MB / 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.0004976/0.2779, allocations: 0.6319 MB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.2781, allocations: 35.95 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2781, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2782, allocations: 11.98 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.2784, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.2787, allocations: 131.2 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2789, allocations: 0.6806 MB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.279, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.279, allocations: 7.438 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.279, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.19/1.469, allocations: 1.218 MB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.8, allocations: 19.23 kB / 1.173 GB, free: 456 kB / 0.92 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches