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.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.001233/0.001233, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001497/0.001497, allocations: 218 kB / 23.04 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.124/3.124, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",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.001917/0.001917, allocations: 63.42 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002099/0.3038, allocations: 0.9294 MB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3049, allocations: 0.9366 MB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.305, allocations: 7.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.305, allocations: 7.875 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.3051, allocations: 19.78 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.3053, allocations: 47.89 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3055, allocations: 127.6 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3056, allocations: 41.48 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3058, allocations: 63.78 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3059, allocations: 55.77 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3059, allocations: 12 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.306, allocations: 19.98 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.306, allocations: 27.86 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.3061, allocations: 55.72 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.3063, allocations: 163.6 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3063, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3063, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.3063, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 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.000621/0.3069, allocations: 365.7 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.307, allocations: 11.97 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/0.307, allocations: 8.188 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.307, allocations: 42.75 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.3072, allocations: 32.81 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3075, allocations: 151.1 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3076, allocations: 16.06 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3076, allocations: 12 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3078, allocations: 106.6 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3078, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3078, allocations: 4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3078, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.308, allocations: 75.95 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.3086, allocations: 371.7 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3089, allocations: 74.55 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.309, allocations: 44.89 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.309, allocations: 3.938 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.309, allocations: 38.56 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.309, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.3094, allocations: 117.7 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.3095, allocations: 55.41 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3096, allocations: 166.8 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3097, allocations: 29.7 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.3097, allocations: 112.2 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3098, allocations: 19.84 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.3098, allocations: 29.64 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.31, allocations: 326.8 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.3101, allocations: 27.98 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3102, allocations: 54.56 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3104, allocations: 52.83 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3104, allocations: 4 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002529/0.3106, allocations: 117.4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3106, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3106, allocations: 32 / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3106, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.3107, allocations: 15.98 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3107, allocations: 3.938 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.3108, allocations: 11.92 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3108, allocations: 4 kB / 1.35 GB, free: 11.27 MB / 1.045 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.000111/0.3109, allocations: 120.2 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.311, allocations: 19.84 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.311, allocations: 20.98 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.311, allocations: 7.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.311, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.311, allocations: 3.938 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3113, allocations: 180.7 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3113, allocations: 3.938 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.3113, allocations: 11.98 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3113, allocations: 0 / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3114, allocations: 8 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3114, allocations: 0 / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3114, allocations: 4 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3117, allocations: 195.7 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.3117, allocations: 15.84 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3117, allocations: 4 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3118, allocations: 11.98 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3119, allocations: 11.97 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3119, allocations: 4 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.952e-05/0.312, allocations: 123.2 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.312, allocations: 0 / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002414/0.3122, allocations: 23.94 kB / 1.351 GB, free: 10.45 MB / 1.045 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.0005705/0.3128, allocations: 0.7358 MB / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.313, allocations: 67.95 kB / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.313, allocations: 0 / 1.352 GB, free: 9.621 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.3131, allocations: 35.91 kB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3135, allocations: 8 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.3155, allocations: 1.663 MB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3158, allocations: 0.704 MB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.113e-05/0.3159, allocations: 8.672 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.316, allocations: 39.39 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.316, allocations: 0 / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3385, allocations: 2.832 MB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.65, allocations: 9.719 kB / 1.357 GB, free: 4.367 MB / 1.045 GB " [Timeout remaining time 288] (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] [Calling os._exit(0), Time elapsed: 18.121433734020684] Failed to read output from testmodel.py, exit status != 0: 11.817613714025356 11.850935425 11.538521167 Calling exit ...