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.001327/0.001327, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001471/0.001471, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.805 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.313/3.313, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.003025/0.003025, allocations: 62.41 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3691, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002482/0.3715, allocations: 0.6992 MB / 1.326 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3739, allocations: 1.272 MB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.374, allocations: 3.938 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3742, allocations: 11.86 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.3743, allocations: 19.84 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.3752, allocations: 239.6 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.3757, allocations: 243.6 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3759, allocations: 27.97 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.3761, allocations: 103.8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3763, allocations: 75.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.3764, allocations: 20 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.3766, allocations: 35.98 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.3767, allocations: 35.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.3768, allocations: 79.7 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.3773, allocations: 231.2 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.3773, allocations: 4 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.035e-06/0.3773, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3773, allocations: 0 / 1.328 GB, free: 15.28 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.0007562/0.3781, allocations: 433.1 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3781, allocations: 15.97 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.3782, allocations: 46.73 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.3785, allocations: 48.81 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.3791, allocations: 191.1 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3792, allocations: 12.38 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.3792, allocations: 20.31 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.3794, allocations: 131.3 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3794, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3795, allocations: 3.984 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3795, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3796, allocations: 51.91 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.3804, allocations: 0.6095 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.755e-05/0.3805, allocations: 37.22 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.3805, allocations: 17.78 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3806, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.3808, allocations: 97.02 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3808, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003133/0.3811, allocations: 105.5 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.3812, allocations: 77.11 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3814, allocations: 172.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.3815, allocations: 33.7 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3816, allocations: 127.9 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3816, allocations: 11.95 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3817, allocations: 57.67 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3819, allocations: 330.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3821, allocations: 115.4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3823, allocations: 236.6 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.3826, allocations: 178.1 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3826, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005134/0.3831, allocations: 336.2 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.3832, allocations: 59.41 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3832, allocations: 0 / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3832, allocations: 7.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/0.3832, allocations: 7.938 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3832, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3836, allocations: 64.16 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3836, allocations: 15.97 kB / 1.332 GB, free: 11.29 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.000167/0.3838, allocations: 140.3 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3838, allocations: 19.84 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.3838, allocations: 12.34 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3838, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3838, allocations: 3.938 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3838, allocations: 384 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.384, allocations: 180.6 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.384, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-06/0.3841, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3841, allocations: 4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3841, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3841, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3841, allocations: 3.984 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3842, allocations: 117.9 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3843, allocations: 15.91 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3843, allocations: 4 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.817e-05/0.3843, allocations: 7.984 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3843, allocations: 7.938 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3844, allocations: 4 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3845, allocations: 125 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3845, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002708/0.3847, allocations: 28 kB / 1.332 GB, free: 10.54 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.0005799/0.3853, allocations: 0.6677 MB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.3857, allocations: 274 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3858, allocations: 0 / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.3858, allocations: 16.5 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.386, allocations: 26.05 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3888, allocations: 2.172 MB / 1.335 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3889, allocations: 102.6 kB / 1.335 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.3889, allocations: 16.97 kB / 1.335 GB, free: 6.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.389, allocations: 35.42 kB / 1.335 GB, free: 6.957 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.389, allocations: 0 / 1.335 GB, free: 6.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.4294, allocations: 4.255 MB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 5 kB / 1.34 GB, free: 2.883 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.899109735153615]