Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 497.2 MB / 0.7812 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 67.89 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00181/1.145, allocations: 0.7257 MB / 1.305 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001318/1.147, allocations: 1.254 MB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/1.147, allocations: 0 / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/1.147, allocations: 14.02 kB / 1.306 GB, free: 30.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/1.147, allocations: 10.53 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/1.147, allocations: 245.5 kB / 1.306 GB, free: 30.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/1.148, allocations: 240.5 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/1.148, allocations: 33.88 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/1.148, allocations: 104.7 kB / 1.307 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/1.148, allocations: 81.36 kB / 1.307 GB, free: 30.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/1.148, allocations: 19.28 kB / 1.307 GB, free: 30.47 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/1.148, allocations: 56.03 kB / 1.307 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/1.148, allocations: 31.8 kB / 1.307 GB, free: 30.44 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/1.148, allocations: 92.11 kB / 1.307 GB, free: 30.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/1.149, allocations: 229.9 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.149, allocations: 3.938 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/1.149, allocations: 0 / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.149, allocations: 2.938 kB / 1.307 GB, free: 30.3 MB / 1.061 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.000534/1.149, allocations: 0.5054 MB / 1.308 GB, free: 29.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.149, allocations: 8.844 kB / 1.308 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/1.149, allocations: 40.95 kB / 1.308 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/1.149, allocations: 23.16 kB / 1.308 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/1.15, allocations: 263.7 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/1.15, allocations: 6.094 kB / 1.308 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/1.15, allocations: 18.31 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/1.15, allocations: 133.4 kB / 1.308 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.15, allocations: 7.984 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/1.15, allocations: 2.875 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.15, allocations: 6.781 kB / 1.308 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/1.15, allocations: 48.12 kB / 1.308 GB, free: 29.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/1.151, allocations: 0.6608 MB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/1.151, allocations: 42.11 kB / 1.309 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/1.151, allocations: 20.5 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/1.151, allocations: 3.938 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/1.151, allocations: 93.39 kB / 1.309 GB, free: 28.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/1.151, allocations: 2.906 kB / 1.309 GB, free: 28.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002215/1.151, allocations: 101.3 kB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.151, allocations: 81.05 kB / 1.309 GB, free: 28.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.151, allocations: 177 kB / 1.309 GB, free: 28.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/1.151, allocations: 35.27 kB / 1.309 GB, free: 28.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/1.151, allocations: 118.7 kB / 1.309 GB, free: 28.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/1.151, allocations: 15.91 kB / 1.309 GB, free: 28.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/1.151, allocations: 64.8 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.766e-05/1.151, allocations: 320.9 kB / 1.31 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.152, allocations: 54.75 kB / 1.31 GB, free: 27.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.152, allocations: 122.7 kB / 1.31 GB, free: 27.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/1.152, allocations: 169 kB / 1.31 GB, free: 27.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.152, allocations: 4.031 kB / 1.31 GB, free: 27.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003268/1.152, allocations: 271.2 kB / 1.31 GB, free: 27.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.152, allocations: 69.94 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.152, allocations: 6.719 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.152, allocations: 6.125 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.776e-05/1.152, allocations: 2.562 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.152, allocations: 2.719 kB / 1.31 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/1.153, allocations: 77.2 kB / 1.31 GB, free: 27.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/1.153, allocations: 11.42 kB / 1.31 GB, free: 27.35 MB / 1.061 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 9.006e-05/1.153, allocations: 145.3 kB / 1.311 GB, free: 27.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/1.153, allocations: 17.94 kB / 1.311 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/1.153, allocations: 14.58 kB / 1.311 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.153, allocations: 4 kB / 1.311 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.153, allocations: 6.891 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.153, allocations: 0 / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/1.153, allocations: 204 kB / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.153, allocations: 0 / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/1.153, allocations: 2.906 kB / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.153, allocations: 0 / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.153, allocations: 0 / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.153, allocations: 2.906 kB / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.153, allocations: 0 / 1.311 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/1.153, allocations: 124.5 kB / 1.311 GB, free: 26.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/1.153, allocations: 87.47 kB / 1.311 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.153, allocations: 0 / 1.311 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/1.153, allocations: 64 / 1.311 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/1.153, allocations: 21.08 kB / 1.311 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/1.153, allocations: 2.969 kB / 1.311 GB, free: 26.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.888e-05/1.153, allocations: 119.7 kB / 1.311 GB, free: 26.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.153, allocations: 4 kB / 1.311 GB, free: 26.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002538/1.153, allocations: 42.58 kB / 1.311 GB, free: 26.67 MB / 1.061 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.0003509/1.154, allocations: 0.6573 MB / 1.312 GB, free: 26.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002683/1.154, allocations: 213.4 kB / 1.312 GB, free: 25.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.154, allocations: 0 / 1.312 GB, free: 25.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/1.154, allocations: 23.06 kB / 1.312 GB, free: 25.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.154, allocations: 18.89 kB / 1.312 GB, free: 25.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/1.156, allocations: 1.924 MB / 1.314 GB, free: 24.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/1.156, allocations: 0.7081 MB / 1.315 GB, free: 23.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.812e-05/1.156, allocations: 12.42 kB / 1.315 GB, free: 23.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/1.156, allocations: 40.5 kB / 1.315 GB, free: 23.59 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.156, allocations: 4 kB / 1.315 GB, free: 23.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/1.182, allocations: 3.629 MB / 1.318 GB, free: 23.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.531, allocations: 5.25 kB / 1.318 GB, free: 23.07 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.129375350661576]