Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001387/0.001387, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002457/0.002457, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.797 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.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001977/0.001977, allocations: 62.03 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002421/0.3424, allocations: 0.7094 MB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3447, allocations: 1.268 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.3448, allocations: 7.938 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.3449, allocations: 7.875 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.345, allocations: 23.8 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.3459, allocations: 243 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.3464, allocations: 243.6 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3465, allocations: 19.98 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3468, allocations: 111.8 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.347, allocations: 87.7 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.209e-05/0.347, allocations: 23.94 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3471, allocations: 31.98 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.3472, allocations: 31.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3473, allocations: 79.69 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.3477, allocations: 231.2 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3477, allocations: 4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3477, allocations: 3.938 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3477, allocations: 0 / 1.33 GB, free: 14.41 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.0007217/0.3484, allocations: 437 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.3485, allocations: 8.031 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.463e-05/0.3485, allocations: 4.188 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.3486, allocations: 38.75 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/0.349, allocations: 56.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.3496, allocations: 195.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3497, allocations: 12.38 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.3497, allocations: 20.38 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.35, allocations: 134.3 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.35, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3501, allocations: 8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3501, allocations: 0 / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.3502, allocations: 51.91 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.351, allocations: 0.5979 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.3511, allocations: 45.09 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.3511, allocations: 21.77 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.3511, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.3514, allocations: 97.02 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3514, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002947/0.3517, allocations: 105.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.3518, allocations: 81.09 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3519, allocations: 170.1 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.352, allocations: 37.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3521, allocations: 123.9 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.3521, allocations: 15.88 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3523, allocations: 57.69 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3524, allocations: 322.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3526, allocations: 119.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3528, allocations: 227.3 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.3531, allocations: 178.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3531, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006587/0.3538, allocations: 336.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.3538, allocations: 67.39 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3538, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3539, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.3539, allocations: 8.562 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3539, allocations: 8 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.3542, allocations: 47.94 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.3543, allocations: 15.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001819/0.3545, allocations: 142.3 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3545, allocations: 11.91 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.3545, allocations: 24.31 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3545, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3546, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3546, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3547, allocations: 176.5 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3547, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.3548, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3548, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3548, allocations: 3.984 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3548, allocations: 4 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3548, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.355, allocations: 113.9 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.355, allocations: 23.89 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.355, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.355, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.3551, allocations: 15.92 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3551, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3552, allocations: 115.4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3552, allocations: 3.938 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002845/0.3555, allocations: 36 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005649/0.356, allocations: 0.66 MB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.3565, allocations: 274 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3565, allocations: 0 / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.3565, allocations: 24.06 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3568, allocations: 22.42 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.3599, allocations: 2.18 MB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.3601, allocations: 98.5 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.924e-05/0.3601, allocations: 8.969 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.3602, allocations: 39.42 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of SimCode: time 1.313e-06/0.3602, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3867, allocations: 3.871 MB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.31, allocations: 7.766 kB / 1.341 GB, free: 2.434 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.185325341997668] Failed to read output from testmodel.py, exit status != 0: 12.476264360011555 12.504237941 12.151488594 Calling exit ...