Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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.001811/0.001811, 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.002469/0.002469, allocations: 221.3 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",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.002128/0.002128, allocations: 65.69 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 170 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002336/0.323, allocations: 0.9371 MB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3251, allocations: 1.453 MB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3252, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.3256, allocations: 75.67 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3257, allocations: 63.61 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.3266, allocations: 327.7 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.3271, allocations: 451.1 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3273, allocations: 37.59 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.3275, allocations: 167.7 kB / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.3278, allocations: 171.4 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.3279, allocations: 36 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.328, allocations: 71.95 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3282, allocations: 83.78 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.3283, allocations: 151.3 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.3289, allocations: 434.8 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3289, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3289, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3289, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009297/0.3298, allocations: 0.5857 MB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3298, allocations: 12.03 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.3299, allocations: 192 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3299, allocations: 50.73 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.33, allocations: 28.8 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.3305, allocations: 251 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3305, allocations: 16.38 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.3306, allocations: 28.36 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.3309, allocations: 185.7 kB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3309, allocations: 0 / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.331, allocations: 11.94 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.331, allocations: 4 kB / 1.29 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.3312, allocations: 119.9 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3322, allocations: 0.6007 MB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.3327, allocations: 202.5 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.3329, allocations: 134.5 kB / 1.291 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3329, allocations: 0 / 1.291 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.3333, allocations: 235.9 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.3333, allocations: 0 / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008514/0.3341, allocations: 0.5233 MB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3342, allocations: 118.8 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3345, allocations: 249.4 kB / 1.292 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.3346, allocations: 37.7 kB / 1.292 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3347, allocations: 128.7 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.3348, allocations: 63.53 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3349, allocations: 105.6 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3351, allocations: 338.8 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3354, allocations: 163.9 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.3358, allocations: 294.3 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.3364, allocations: 487.4 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3364, allocations: 0 / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009776/0.3374, allocations: 0.5981 MB / 1.294 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.3375, allocations: 145.3 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3375, allocations: 4 kB / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3375, allocations: 4 kB / 1.294 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3376, allocations: 19.98 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.3376, allocations: 7.938 kB / 1.294 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.3383, allocations: 88.06 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.3383, allocations: 23.98 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0003254/0.3387, allocations: 247.7 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.3387, allocations: 23.86 kB / 1.294 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.3388, allocations: 30.64 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3388, allocations: 0 / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3388, allocations: 0 / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3388, allocations: 7.938 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3401, allocations: 0.8212 MB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3401, allocations: 0 / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.3401, allocations: 8 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3401, allocations: 4 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3401, allocations: 15.92 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3401, allocations: 3.938 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.3402, allocations: 8.062 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.3408, allocations: 0.5343 MB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3409, allocations: 23.8 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.341, allocations: 23.92 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3411, allocations: 15.92 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3412, allocations: 47.95 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3413, allocations: 15.98 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3414, allocations: 176.5 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3414, allocations: 0 / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004577/0.3419, allocations: 87.94 kB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.001121/0.343, allocations: 1.127 MB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009126/0.3439, allocations: 0.6106 MB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3439, allocations: 0 / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3443, allocations: 288.7 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.3448, allocations: 57.02 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.3495, allocations: 3.47 MB / 1.302 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.3499, allocations: 0.7402 MB / 1.302 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.3501, allocations: 45.86 kB / 1.302 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3502, allocations: 63.42 kB / 1.302 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of SimCode: time 1.703e-06/0.3502, allocations: 0 / 1.302 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3806, allocations: 7.342 MB / 1.31 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.48, allocations: 14.19 kB / 1.31 GB, free: 1.094 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.159211235994007] Failed to read output from testmodel.py, exit status != 0: 13.187492092954926 12.669393214 12.335455248 Calling exit ...