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.00138/0.00138, allocations: 105.1 kB / 16.45 MB, free: 6.453 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.002477/0.002477, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.212/3.212, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002041/0.002041, allocations: 73.33 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002079/0.3811, allocations: 0.7104 MB / 1.322 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3829, allocations: 1.284 MB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.3829, allocations: 0 / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3831, allocations: 11.86 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.3831, allocations: 19.86 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.3838, allocations: 239.5 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.3842, allocations: 247.6 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3843, allocations: 35.91 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3845, allocations: 99.81 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.3846, allocations: 91.69 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.3847, allocations: 20 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3848, allocations: 43.91 kB / 1.324 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.3849, allocations: 39.84 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.385, allocations: 83.64 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.3853, allocations: 235.2 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3853, allocations: 3.938 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3853, allocations: 4 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.3853, allocations: 0 / 1.324 GB, free: 208 kB / 1.014 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.000756/0.3861, allocations: 0.4943 MB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.3861, allocations: 19.97 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.3862, allocations: 34.75 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.3865, allocations: 60.8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.3871, allocations: 262.2 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3871, allocations: 12.38 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3872, allocations: 16.38 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3874, allocations: 139.2 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3874, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3874, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3874, allocations: 4 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.456e-05/0.3875, allocations: 47.91 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.3883, allocations: 0.6612 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.3883, allocations: 49.14 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.665e-05/0.3884, allocations: 17.72 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.3884, allocations: 8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3885, allocations: 89.03 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3885, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002654/0.3888, allocations: 101.6 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3889, allocations: 85.05 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.389, allocations: 171.9 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3891, allocations: 33.7 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3892, allocations: 124 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.3892, allocations: 11.95 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3893, allocations: 53.67 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3895, allocations: 326.8 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3896, allocations: 51.97 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3898, allocations: 116.5 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.39, allocations: 174.2 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.39, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004899/0.3905, allocations: 285.1 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.3905, allocations: 67.45 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3905, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3906, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.3906, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3906, allocations: 7.938 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.3909, allocations: 55.97 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.391, allocations: 19.92 kB / 1.327 GB, free: 12.26 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.0001371/0.3911, allocations: 142.5 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3911, allocations: 15.84 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.3912, allocations: 12.25 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3912, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3912, allocations: 7.984 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3912, allocations: 0 / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3914, allocations: 201.6 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.3914, allocations: 7.984 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.3914, allocations: 8 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3914, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3914, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3914, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3914, allocations: 3.938 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3916, allocations: 109.9 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3916, allocations: 89.02 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3916, allocations: 4 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.3917, allocations: 8 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.3917, allocations: 3.984 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3917, allocations: 4 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.3918, allocations: 121.2 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3918, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002684/0.3921, allocations: 31.94 kB / 1.328 GB, free: 11.39 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.0005759/0.3926, allocations: 0.6678 MB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.393, allocations: 206.7 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.393, allocations: 7.938 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.3931, allocations: 16.48 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3933, allocations: 23.98 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3958, allocations: 1.916 MB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3962, allocations: 0.708 MB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3962, allocations: 13.06 kB / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.3963, allocations: 43.36 kB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.3963, allocations: 0 / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.4246, allocations: 3.514 MB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.629, allocations: 7.875 kB / 1.335 GB, free: 4.215 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.442060872912407]