Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001834/0.001834, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002328/0.002328, allocations: 219.9 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.244/3.244, allocations: 0.5002 GB / 0.8061 GB, free: 26.74 MB / 0.6231 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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",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.002026/0.002026, allocations: 63.58 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.337, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002103/0.3391, allocations: 0.7582 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3406, allocations: 1.182 MB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.3407, allocations: 7.938 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3408, allocations: 27.84 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.3409, allocations: 7.875 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3413, allocations: 131.1 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.3415, allocations: 135.7 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3416, allocations: 28.2 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.3417, allocations: 39.86 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.3418, allocations: 47.81 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3418, allocations: 8 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.921e-05/0.3419, allocations: 27.98 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3419, allocations: 4 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3419, allocations: 47.78 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3421, allocations: 111.6 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3421, allocations: 4 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3421, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3421, allocations: 0 / 1.348 GB, free: 13.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004609/0.3426, allocations: 327.8 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3426, allocations: 12.03 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.885e-05/0.3426, allocations: 8.188 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.3427, allocations: 38.67 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3427, allocations: 12.89 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3429, allocations: 150.4 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.343, allocations: 4.375 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.343, allocations: 8.375 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3431, allocations: 76.52 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3431, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3431, allocations: 4 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3431, allocations: 0 / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/0.3432, allocations: 19.92 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.3436, allocations: 468.1 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.3437, allocations: 26.52 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3437, allocations: 8.859 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3437, allocations: 3.984 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.3438, allocations: 55.45 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3438, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.344, allocations: 69.58 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.344, allocations: 51.41 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3442, allocations: 160.5 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3442, allocations: 33.64 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.3443, allocations: 100.1 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.3443, allocations: 7.938 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.3444, allocations: 29.7 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3445, allocations: 318.8 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3446, allocations: 27.98 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.3447, allocations: 54.55 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3448, allocations: 80.2 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3448, allocations: 0 / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002639/0.3451, allocations: 147.2 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.3451, allocations: 37.7 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3451, allocations: 4 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3451, allocations: 4.094 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.3452, allocations: 7.922 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3452, allocations: 0 / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3454, allocations: 27.97 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3454, allocations: 7.938 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.677e-05/0.3455, allocations: 117.8 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.3455, allocations: 7.953 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.3455, allocations: 24.27 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3455, allocations: 3.938 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3455, allocations: 4.062 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3455, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.3457, allocations: 140.7 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3457, allocations: 3.984 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-06/0.3457, allocations: 0 / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3457, allocations: 0 / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3457, allocations: 4 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3457, allocations: 3.938 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3457, allocations: 0 / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.3458, allocations: 89.03 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.3458, allocations: 3.953 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3459, allocations: 7.984 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.3459, allocations: 4.219 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.3459, allocations: 4 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3459, allocations: 0 / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.346, allocations: 115.2 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.346, allocations: 4 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002373/0.3462, allocations: 19.94 kB / 1.351 GB, free: 10.68 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 ($whenCondition1,$whenCondition2,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004615/0.3467, allocations: 0.628 MB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3469, allocations: 111.2 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3469, allocations: 192 / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.3469, allocations: 12 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3471, allocations: 16.23 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3488, allocations: 1.511 MB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3491, allocations: 0.6924 MB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.3492, allocations: 11.77 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3492, allocations: 23.44 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3492, allocations: 0 / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.3718, allocations: 2.538 MB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 18.83 kB / 1.356 GB, free: 5.105 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.41483356698882] Failed to read output from testmodel.py, exit status != 0: 11.838074603991117 11.861957571 11.515271713 Calling exit ...