Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, allocations: 97.27 kB / 19.73 MB, free: 2.129 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.001557/0.001557, allocations: 218.3 kB / 23.03 MB, free: 4.953 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.029/3.029, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_12_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.001935/0.001935, allocations: 71.48 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3375, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002237/0.3397, allocations: 0.8874 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.341, allocations: 0.9327 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.3411, allocations: 4 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.3411, allocations: 7.875 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.3412, allocations: 19.8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.3414, allocations: 47.89 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.3416, allocations: 123.7 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3417, allocations: 37.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.3419, allocations: 59.72 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.342, allocations: 55.77 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.342, allocations: 12 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.3421, allocations: 20 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.3421, allocations: 23.91 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.3422, allocations: 55.72 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3424, allocations: 163.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3424, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3424, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3424, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 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.0006104/0.343, allocations: 353.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3431, allocations: 12.03 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.613e-05/0.3431, allocations: 4.188 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3431, allocations: 46.73 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.3434, allocations: 28.88 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3437, allocations: 156 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3437, allocations: 12.12 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3437, allocations: 12 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3439, allocations: 106.6 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3439, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.344, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.344, allocations: 8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3441, allocations: 67.95 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.3447, allocations: 347.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.345, allocations: 78.61 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3451, allocations: 40.84 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3451, allocations: 7.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3451, allocations: 34.55 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3451, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003695/0.3455, allocations: 129.8 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3456, allocations: 55.39 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3457, allocations: 154.2 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3457, allocations: 29.7 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.3458, allocations: 116.2 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3458, allocations: 15.86 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3459, allocations: 33.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.346, allocations: 322.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.3461, allocations: 27.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3463, allocations: 106 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3464, allocations: 68.89 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3464, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000238/0.3467, allocations: 109.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3467, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3467, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3467, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.3468, allocations: 11.98 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3468, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.3469, allocations: 19.88 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3469, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 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.0001044/0.347, allocations: 122.4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.347, allocations: 19.88 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.3471, allocations: 16.7 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3471, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3471, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3471, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.3473, allocations: 176.7 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3473, allocations: 3.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.3474, allocations: 15.92 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3474, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.3474, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3474, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3474, allocations: 8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3477, allocations: 191.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.3477, allocations: 11.89 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3477, allocations: 4 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3478, allocations: 7.984 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.3479, allocations: 19.97 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3479, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.366e-05/0.348, allocations: 123.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.348, allocations: 7.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002369/0.3482, allocations: 23.89 kB / 1.332 GB, free: 11.57 MB / 1.029 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.0005495/0.3488, allocations: 0.7421 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.349, allocations: 71.89 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.349, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3491, allocations: 35.97 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3494, allocations: 12 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3513, allocations: 1.647 MB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.44e-05/0.3514, allocations: 96.98 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.283e-05/0.3515, allocations: 4.672 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.3515, allocations: 43.41 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3515, allocations: 0 / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.3752, allocations: 2.897 MB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.52, allocations: 4.625 kB / 1.338 GB, free: 6.059 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.883607074036263] Failed to read output from testmodel.py, exit status != 0: 11.67921266600024 11.704298315 11.356816444 Calling exit ...