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.001366/0.001366, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001598/0.001598, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.024/3.024, allocations: 0.5003 GB / 0.8026 GB, free: 6.91 MB / 0.6387 GB " [Timeout remaining time 176] 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.002705/0.002705, allocations: 63.91 kB / 1.165 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9836/0.9863, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00211/0.9884, allocations: 0.9276 MB / 1.341 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.9894, allocations: 0.9329 MB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.9895, allocations: 2.062 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.9895, allocations: 9.234 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.9896, allocations: 20.09 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.9898, allocations: 46.36 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.99, allocations: 126.3 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.9901, allocations: 38.61 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.9903, allocations: 60.52 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.9904, allocations: 57.53 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.9904, allocations: 13.09 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.9905, allocations: 15.23 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.9905, allocations: 32.78 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.9905, allocations: 53.03 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.9908, allocations: 164.4 kB / 1.343 GB, free: 14.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9908, allocations: 0.5156 kB / 1.343 GB, free: 14.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9908, allocations: 1.062 kB / 1.343 GB, free: 14.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9908, allocations: 0 / 1.343 GB, free: 14.69 MB / 1.061 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.0005591/0.9913, allocations: 443 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.9914, allocations: 8.969 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.505e-05/0.9914, allocations: 5.938 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.9914, allocations: 40.56 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.9916, allocations: 37.23 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.9919, allocations: 220.7 kB / 1.343 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.9919, allocations: 11.75 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.9919, allocations: 11.03 kB / 1.343 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.9921, allocations: 99.75 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9922, allocations: 0 / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9922, allocations: 4 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.9922, allocations: 2.656 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.9924, allocations: 74.03 kB / 1.343 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.9929, allocations: 404.5 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.9931, allocations: 77.94 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.9932, allocations: 40.16 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.9933, allocations: 5.812 kB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.9933, allocations: 32.42 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.9933, allocations: 0 / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003623/0.9936, allocations: 121.5 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.9937, allocations: 53.44 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.9938, allocations: 161.2 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.9938, allocations: 32.45 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.9938, allocations: 105.5 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.9939, allocations: 28.94 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.9939, allocations: 24.5 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.911e-05/0.994, allocations: 325.5 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.994, allocations: 29.14 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.9941, allocations: 52.48 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.9943, allocations: 66.86 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9943, allocations: 0 / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002142/0.9945, allocations: 117.8 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.9945, allocations: 5.5 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9945, allocations: 0 / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9945, allocations: 6.062 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.9946, allocations: 11.02 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9946, allocations: 0.7031 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.9947, allocations: 9.594 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.9947, allocations: 6.031 kB / 1.345 GB, free: 12.57 MB / 1.061 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 6.752e-05/0.9948, allocations: 121.3 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.9948, allocations: 21.28 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.9949, allocations: 21.48 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9949, allocations: 3.984 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9949, allocations: 1.375 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9949, allocations: 0.7031 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.995, allocations: 209 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.995, allocations: 5.281 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.9951, allocations: 15.67 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9951, allocations: 0 / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.9951, allocations: 2.953 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9951, allocations: 0.6562 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9951, allocations: 4 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.9954, allocations: 196.1 kB / 1.346 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.9954, allocations: 96.36 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.9954, allocations: 2.062 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.9955, allocations: 7.984 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.9956, allocations: 16.97 kB / 1.346 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.9956, allocations: 6.547 kB / 1.346 GB, free: 11.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.9957, allocations: 125.5 kB / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9957, allocations: 0 / 1.346 GB, free: 11.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000229/0.9959, allocations: 19.09 kB / 1.346 GB, free: 11.82 MB / 1.061 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.0003872/0.9963, allocations: 0.7335 MB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.9965, allocations: 75.69 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9965, allocations: 0 / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.9966, allocations: 33.59 kB / 1.347 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.9969, allocations: 8.078 kB / 1.347 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.9985, allocations: 1.669 MB / 1.348 GB, free: 9.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.9986, allocations: 0.7048 MB / 1.349 GB, free: 9.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.9986, allocations: 12.8 kB / 1.349 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.9987, allocations: 33.86 kB / 1.349 GB, free: 8.996 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.9987, allocations: 0 / 1.349 GB, free: 8.996 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/1.017, allocations: 2.725 MB / 1.352 GB, free: 8.527 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.336, allocations: 6.984 kB / 1.352 GB, free: 8.527 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.601308710000012] Failed to read output from testmodel.py, exit status != 0: 9.46030553302262 9.483031086 8.487858741 Calling exit ...