Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001274/0.001274, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001447/0.001447, allocations: 215.5 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 66.91 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.293, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002391/0.2954, allocations: 0.9351 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2967, allocations: 0.9306 MB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.2968, allocations: 0 / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.211e-05/0.2969, allocations: 15.81 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.297, allocations: 27.72 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.2973, allocations: 47.95 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.2974, allocations: 127.6 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2976, allocations: 37.7 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.2978, allocations: 59.84 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2979, allocations: 59.69 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2979, allocations: 12 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.298, allocations: 16 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.298, allocations: 31.92 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.2981, allocations: 55.67 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.2983, allocations: 159.6 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2983, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2983, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.2983, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006265/0.299, allocations: 369.6 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.299, allocations: 16.03 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.299, allocations: 42.75 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.2993, allocations: 28.86 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2995, allocations: 155 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2996, allocations: 4.375 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.2996, allocations: 15.94 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2998, allocations: 105.6 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2998, allocations: 8 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2998, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.2998, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3, allocations: 75.89 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.3007, allocations: 367.6 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.3009, allocations: 74.61 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.301, allocations: 36.91 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3011, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3011, allocations: 46.48 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.3011, allocations: 0 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003835/0.3015, allocations: 125.7 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3015, allocations: 55.39 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3017, allocations: 161 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3017, allocations: 29.7 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.3018, allocations: 120.3 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3018, allocations: 15.86 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.3019, allocations: 29.7 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.302, allocations: 326.8 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.3021, allocations: 27.98 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3022, allocations: 58.48 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3023, allocations: 48.84 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3023, allocations: 3.984 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002277/0.3026, allocations: 117.5 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3026, allocations: 4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3026, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3026, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.3027, allocations: 15.98 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3027, allocations: 3.938 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.3028, allocations: 15.88 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3028, allocations: 4 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001105/0.3029, allocations: 121.8 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.3029, allocations: 15.89 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.303, allocations: 16.7 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.303, allocations: 4 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.303, allocations: 4.219 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.303, allocations: 3.984 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3032, allocations: 176.6 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3032, allocations: 7.938 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.3033, allocations: 19.92 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3033, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3033, allocations: 8 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3033, allocations: 3.984 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3033, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3036, allocations: 191.5 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.3036, allocations: 11.89 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3036, allocations: 8 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3037, allocations: 11.98 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.3038, allocations: 15.91 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.3038, allocations: 4 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.523e-05/0.3039, allocations: 122.8 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3039, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002368/0.3041, allocations: 19.89 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005626/0.3047, allocations: 0.7362 MB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3049, allocations: 67.91 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3049, allocations: 0 / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.305, allocations: 39.97 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3053, allocations: 8 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3073, allocations: 1.651 MB / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3076, allocations: 0.7124 MB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.225e-05/0.3077, allocations: 4.672 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.3078, allocations: 39.41 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.3078, allocations: 0 / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3383, allocations: 2.796 MB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.5, allocations: 6.641 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 17.80755706806667]