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.001787/0.001787, allocations: 113 kB / 18.94 MB, free: 2.957 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.002431/0.002431, allocations: 213.3 kB / 22.25 MB, free: 5.117 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 8.012 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.237/3.237, allocations: 0.49 GB / 0.7951 GB, free: 33.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",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.002068/0.002068, allocations: 63.59 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002265/0.3415, allocations: 0.7341 MB / 1.327 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3436, allocations: 1.288 MB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.3437, allocations: 4 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3438, allocations: 15.81 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.3439, allocations: 15.86 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.3446, allocations: 246.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.345, allocations: 239.7 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3451, allocations: 27.97 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3453, allocations: 103.8 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3455, allocations: 87.77 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.3456, allocations: 24 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3457, allocations: 35.98 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.3458, allocations: 43.78 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3459, allocations: 83.7 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.3463, allocations: 235.2 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3463, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3463, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3463, allocations: 0 / 1.329 GB, free: 14.79 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.0007487/0.3471, allocations: 437.1 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3471, allocations: 12.03 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.801e-05/0.3472, allocations: 42.73 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.3475, allocations: 52.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.3481, allocations: 199.6 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.3482, allocations: 12.38 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3482, allocations: 16.38 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3484, allocations: 134.9 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3485, allocations: 7.969 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3485, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3485, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.3486, allocations: 47.91 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.3494, allocations: 0.6329 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.3495, allocations: 49.08 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.3495, allocations: 17.78 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.3495, allocations: 3.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.3497, allocations: 93.03 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3497, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002588/0.35, allocations: 101.6 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.3501, allocations: 81.05 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3502, allocations: 172.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.3503, allocations: 37.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3504, allocations: 124 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3504, allocations: 15.89 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3505, allocations: 57.67 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3507, allocations: 322.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3508, allocations: 51.97 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.351, allocations: 116.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.3512, allocations: 174.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3512, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004648/0.3517, allocations: 276.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.3517, allocations: 67.39 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3517, allocations: 3.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3518, allocations: 8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.3518, allocations: 4.25 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3518, allocations: 7.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.3521, allocations: 51.94 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3521, allocations: 15.98 kB / 1.332 GB, free: 11.05 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.0001456/0.3523, allocations: 136.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3523, allocations: 20.22 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.3523, allocations: 12.34 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3523, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3524, allocations: 7.984 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3524, allocations: 3.984 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3526, allocations: 180.6 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3526, allocations: 4 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.3526, allocations: 3.984 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3526, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3526, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3526, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3526, allocations: 3.938 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3528, allocations: 109.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.3528, allocations: 20 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3528, allocations: 7.938 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.3528, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.3529, allocations: 7.984 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3529, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.478e-05/0.353, allocations: 121 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.353, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002672/0.3532, allocations: 32 kB / 1.333 GB, free: 10.3 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.0005511/0.3538, allocations: 0.6677 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3542, allocations: 202.7 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3542, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.3542, allocations: 19.94 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3545, allocations: 28.09 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3568, allocations: 1.928 MB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3572, allocations: 0.7086 MB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.3573, allocations: 16.97 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.3573, allocations: 39.42 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.3573, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.39, allocations: 3.642 MB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 2.234 kB / 1.34 GB, free: 2.996 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] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.78296332107857]