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.001321/0.001321, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001534/0.001534, allocations: 214.8 kB / 22.24 MB, free: 5.258 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.812 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.341/3.341, allocations: 0.49 GB / 0.7951 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="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.002065/0.002065, allocations: 76.72 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002018/0.3923, allocations: 0.7111 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3941, allocations: 1.268 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.3941, allocations: 3.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.3942, allocations: 11.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.3943, allocations: 19.86 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.395, allocations: 237.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.3953, allocations: 247.6 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3954, allocations: 27.92 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3956, allocations: 99.86 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.3958, allocations: 91.7 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.3958, allocations: 20 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.3959, allocations: 35.98 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.396, allocations: 35.84 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3961, allocations: 75.77 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.3964, allocations: 239.1 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3964, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3964, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3964, allocations: 0 / 1.329 GB, free: 14.45 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.0006395/0.3971, allocations: 433.1 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3971, allocations: 12.03 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.3972, allocations: 38.73 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.3975, allocations: 60.73 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.3981, allocations: 196.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3981, allocations: 20.36 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.3982, allocations: 16.31 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3984, allocations: 131.1 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3984, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3984, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3984, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.3985, allocations: 47.91 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.3993, allocations: 0.6095 MB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.3993, allocations: 41.2 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.3994, allocations: 17.78 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3994, allocations: 3.938 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3996, allocations: 93.03 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3996, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002555/0.3999, allocations: 105.8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.3999, allocations: 85.11 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4001, allocations: 172.3 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.4002, allocations: 29.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4003, allocations: 131.9 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.4003, allocations: 11.95 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4004, allocations: 61.67 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4006, allocations: 322.8 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.4007, allocations: 107.4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.401, allocations: 235.3 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.4012, allocations: 174.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4012, allocations: 11.97 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005128/0.4017, allocations: 328.1 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.4018, allocations: 65.28 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4018, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4018, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.596e-05/0.4018, allocations: 15.92 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4018, allocations: 3.938 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.4021, allocations: 56.19 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.4022, allocations: 8 kB / 1.332 GB, free: 10.46 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.0001415/0.4023, allocations: 149.1 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4023, allocations: 19.84 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.4024, allocations: 4.344 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4024, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4024, allocations: 4.094 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4024, allocations: 7.875 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4025, allocations: 184.6 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4025, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.4026, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.4026, allocations: 4 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4026, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4026, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4026, allocations: 0 / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.4027, allocations: 117.9 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.4027, allocations: 15.91 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.4028, allocations: 4 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.4028, allocations: 8.047 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.4028, allocations: 7.938 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.4028, allocations: 4 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001028/0.4029, allocations: 121.9 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4029, allocations: 0 / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002536/0.4032, allocations: 35.98 kB / 1.333 GB, free: 9.703 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.0005831/0.4038, allocations: 0.6561 MB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.4042, allocations: 282.3 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4042, allocations: 0 / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.4042, allocations: 16.09 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.4044, allocations: 15.98 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.407, allocations: 2.175 MB / 1.336 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4071, allocations: 102.7 kB / 1.336 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.4071, allocations: 12.97 kB / 1.336 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.4072, allocations: 39.42 kB / 1.336 GB, free: 6.125 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.4072, allocations: 3.938 kB / 1.336 GB, free: 6.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.4395, allocations: 4.251 MB / 1.34 GB, free: 2.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.58, allocations: 8.109 kB / 1.34 GB, free: 2.039 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.512989276001463]