Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001612/0.001612, allocations: 106.6 kB / 16.45 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.001737/0.001737, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 70.11 kB / 1.134 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 173.9 MB / 1.304 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002234/0.295, allocations: 0.9153 MB / 1.305 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2962, allocations: 0.8973 MB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.2963, allocations: 0 / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.2963, allocations: 11.86 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2964, allocations: 15.81 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.2966, allocations: 55.81 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2968, allocations: 123.7 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2969, allocations: 33.53 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.297, allocations: 55.83 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2971, allocations: 63.64 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.2972, allocations: 12 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.2972, allocations: 12 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.2972, allocations: 23.92 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.2973, allocations: 63.64 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.2975, allocations: 151.7 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2975, allocations: 0 / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2975, allocations: 0 / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.2975, allocations: 0 / 1.306 GB, free: 15.21 MB / 1.014 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.0006275/0.2982, allocations: 434.9 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2982, allocations: 8.625 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.2983, allocations: 50.73 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.2983, allocations: 12.84 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.2986, allocations: 219.1 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2986, allocations: 8.375 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2986, allocations: 15.94 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2989, allocations: 102.8 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2989, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2989, allocations: 4 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.2989, allocations: 7.938 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.2991, allocations: 71.91 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.2997, allocations: 404.5 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2999, allocations: 74.67 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.3, allocations: 40.83 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3001, allocations: 42.44 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3001, allocations: 0 / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0003567/0.3004, allocations: 117.8 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3005, allocations: 55.56 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3006, allocations: 162.1 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3006, allocations: 33.7 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.3007, allocations: 108.3 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3007, allocations: 27.8 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.3008, allocations: 25.7 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3009, allocations: 322.8 kB / 1.309 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.301, allocations: 31.98 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3011, allocations: 58.42 kB / 1.309 GB, free: 12.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3013, allocations: 60.86 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3013, allocations: 0 / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002264/0.3015, allocations: 109.5 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3015, allocations: 15.92 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3015, allocations: 0 / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3015, allocations: 0 / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.3016, allocations: 8 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3016, allocations: 3.984 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.3017, allocations: 15.95 kB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3017, allocations: 0 / 1.309 GB, free: 12.37 MB / 1.014 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.0001041/0.3018, allocations: 133.8 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.3019, allocations: 11.89 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.3019, allocations: 16.72 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3019, allocations: 3.984 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3019, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3019, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.3021, allocations: 217.5 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3021, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.3022, allocations: 11.94 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3022, allocations: 0 / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3022, allocations: 7.984 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3022, allocations: 4.281 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3022, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3025, allocations: 203.3 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.3026, allocations: 92.94 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3026, allocations: 4 kB / 1.31 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3027, allocations: 7.984 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.3027, allocations: 19.97 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3028, allocations: 0 / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.3028, allocations: 118.5 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3028, allocations: 0 / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002337/0.3031, allocations: 20 kB / 1.31 GB, free: 11.42 MB / 1.014 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.0005654/0.3036, allocations: 0.7382 MB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.3039, allocations: 67.91 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3039, allocations: 4 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.304, allocations: 39.91 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3042, allocations: 8 kB / 1.311 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3061, allocations: 1.655 MB / 1.312 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3064, allocations: 0.7079 MB / 1.313 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.364e-05/0.3065, allocations: 4.672 kB / 1.313 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.3065, allocations: 35.41 kB / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.3065, allocations: 0 / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3303, allocations: 2.686 MB / 1.315 GB, free: 5.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.191, allocations: 10.09 kB / 1.316 GB, free: 5.492 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.419782061129808]