Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.001098/0.001098, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.0009296/0.0009296, allocations: 207.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.9674/0.9674, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.894/1.894, allocations: 0.4898 GB / 0.7957 GB, free: 2.32 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 74.72 kB / 1.155 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2965, allocations: 176.2 MB / 1.328 GB, free: 4.668 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002166/0.2986, allocations: 1.69 MB / 1.329 GB, free: 2.965 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.2993, allocations: 0.4909 MB / 1.33 GB, free: 2.469 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.2993, allocations: 0 / 1.33 GB, free: 2.469 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.2994, allocations: 7.875 kB / 1.33 GB, free: 2.461 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.2994, allocations: 19.8 kB / 1.33 GB, free: 2.441 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2997, allocations: 43.94 kB / 1.33 GB, free: 2.398 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2998, allocations: 91.66 kB / 1.33 GB, free: 2.309 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2999, allocations: 24.22 kB / 1.33 GB, free: 2.281 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3, allocations: 43.84 kB / 1.33 GB, free: 2.238 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.3001, allocations: 35.78 kB / 1.33 GB, free: 2.203 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3001, allocations: 4 kB / 1.33 GB, free: 2.199 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.3001, allocations: 16 kB / 1.33 GB, free: 2.184 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.3002, allocations: 19.91 kB / 1.33 GB, free: 2.164 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.3002, allocations: 27.86 kB / 1.33 GB, free: 2.137 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3003, allocations: 95.56 kB / 1.33 GB, free: 2.043 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3003, allocations: 0 / 1.33 GB, free: 2.043 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3003, allocations: 0 / 1.33 GB, free: 2.043 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3003, allocations: 3.938 kB / 1.33 GB, free: 2.039 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003684/0.3007, allocations: 329.9 kB / 1.33 GB, free: 1.688 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3007, allocations: 8.031 kB / 1.33 GB, free: 1.68 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.3008, allocations: 34.75 kB / 1.33 GB, free: 1.637 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.3009, allocations: 28.86 kB / 1.33 GB, free: 1.609 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.301, allocations: 138.3 kB / 1.331 GB, free: 1.449 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3011, allocations: 4.375 kB / 1.331 GB, free: 1.445 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.3011, allocations: 384 / 1.331 GB, free: 1.445 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3012, allocations: 125.2 kB / 1.331 GB, free: 1.305 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3012, allocations: 0 / 1.331 GB, free: 1.305 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3012, allocations: 3.984 kB / 1.331 GB, free: 1.301 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3012, allocations: 0 / 1.331 GB, free: 1.301 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.3013, allocations: 51.91 kB / 1.331 GB, free: 1.25 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.3017, allocations: 283.6 kB / 1.331 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.3018, allocations: 54.59 kB / 1.331 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.3018, allocations: 28.94 kB / 1.331 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3018, allocations: 0 / 1.331 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.3018, allocations: 38.55 kB / 1.331 GB, free: 0.793 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3018, allocations: 0 / 1.331 GB, free: 0.793 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.3021, allocations: 101.6 kB / 1.331 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3021, allocations: 81.05 kB / 1.331 GB, free: 0.5898 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.3022, allocations: 140.3 kB / 1.331 GB, free: 456 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3022, allocations: 29.7 kB / 1.331 GB, free: 420 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3022, allocations: 100.1 kB / 1.332 GB, free: 316 kB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3022, allocations: 19.89 kB / 1.332 GB, free: 296 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.3023, allocations: 17.72 kB / 1.332 GB, free: 272 kB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.3023, allocations: 318.8 kB / 1.332 GB, free: 15.95 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.3024, allocations: 23.98 kB / 1.332 GB, free: 15.92 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.3024, allocations: 63.53 kB / 1.332 GB, free: 15.85 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.3025, allocations: 56.77 kB / 1.332 GB, free: 15.79 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3025, allocations: 4.031 kB / 1.332 GB, free: 15.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.3026, allocations: 85.56 kB / 1.332 GB, free: 15.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3026, allocations: 8 kB / 1.332 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3026, allocations: 0 / 1.332 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3027, allocations: 0 / 1.332 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3027, allocations: 15.92 kB / 1.332 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3027, allocations: 0 / 1.332 GB, free: 15.67 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.3028, allocations: 11.92 kB / 1.332 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3028, allocations: 8 kB / 1.332 GB, free: 15.65 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.042e-05/0.3028, allocations: 113.8 kB / 1.332 GB, free: 15.53 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3028, allocations: 11.95 kB / 1.332 GB, free: 15.52 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.3029, allocations: 12.33 kB / 1.332 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3029, allocations: 4 kB / 1.332 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3029, allocations: 0 / 1.332 GB, free: 15.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3029, allocations: 3.938 kB / 1.332 GB, free: 15.49 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.303, allocations: 152.7 kB / 1.332 GB, free: 15.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.303, allocations: 0 / 1.332 GB, free: 15.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.303, allocations: 11.98 kB / 1.332 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.303, allocations: 4 kB / 1.332 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.303, allocations: 0 / 1.332 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.303, allocations: 0 / 1.332 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.303, allocations: 0 / 1.332 GB, free: 15.29 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3032, allocations: 179.4 kB / 1.333 GB, free: 15.09 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.3032, allocations: 15.88 kB / 1.333 GB, free: 15.08 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3032, allocations: 4.062 kB / 1.333 GB, free: 15.07 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.3032, allocations: 15.98 kB / 1.333 GB, free: 15.06 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.3033, allocations: 11.92 kB / 1.333 GB, free: 15.05 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3033, allocations: 4 kB / 1.333 GB, free: 15.04 MB / 1.026 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.3033, allocations: 103.3 kB / 1.333 GB, free: 14.94 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.3033, allocations: 0 / 1.333 GB, free: 14.94 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0001412/0.3035, allocations: 15.95 kB / 1.333 GB, free: 14.93 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002921/0.3038, allocations: 0.7163 MB / 1.334 GB, free: 14.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.3039, allocations: 51.97 kB / 1.334 GB, free: 14.13 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3039, allocations: 4 kB / 1.334 GB, free: 14.13 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.3039, allocations: 28.2 kB / 1.334 GB, free: 14.1 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.3041, allocations: 17.94 kB / 1.334 GB, free: 14.09 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.3051, allocations: 1.444 MB / 1.335 GB, free: 12.56 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.3052, allocations: 83.88 kB / 1.335 GB, free: 12.46 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.3052, allocations: 4 kB / 1.335 GB, free: 12.45 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.3052, allocations: 27.42 kB / 1.335 GB, free: 12.43 MB / 1.026 GB Notification: Performance of SimCode: time 5.91e-07/0.3052, allocations: 0 / 1.335 GB, free: 12.43 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07387/0.3791, allocations: 2.792 MB / 1.338 GB, free: 9.809 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/7.092, allocations: 10.41 kB / 1.338 GB, free: 9.805 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv --output-variables chiSwi.TSet chiSwi.chiCHWST chiSwi.y --start-time 0 --stop-time 86400 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_12_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu) > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv: Error: Error opening file: Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,chiSwi.TSet,chiSwi.chiCHWST,chiSwi.y Variables in the result: filterSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv: [:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 300] Failed to write the differing variables of Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 300] "[:1:1-1:0:writable] Error: Class filterSimulationResults not found in scope (looking for a function or record). " [Timeout remaining time 300] Failed to write the differing variables of /mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_fmpy.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 12.831249659880996]