Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001879/0.001879, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001679/0.001679, allocations: 217.5 kB / 22.25 MB, free: 5.125 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_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.002525/0.002525, allocations: 66.95 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3664, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002131/0.3686, allocations: 0.7168 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3704, allocations: 1.289 MB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.3705, allocations: 3.938 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.856e-05/0.3706, allocations: 7.875 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.3706, allocations: 23.84 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.3713, allocations: 245.9 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3717, allocations: 243.6 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3718, allocations: 31.91 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3719, allocations: 99.88 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.3721, allocations: 83.7 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.3722, allocations: 20 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3723, allocations: 47.91 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.3723, allocations: 39.84 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3725, allocations: 83.64 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.3728, allocations: 235.5 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3728, allocations: 3.938 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3728, allocations: 4 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3728, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 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.0006396/0.3734, allocations: 439.1 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3735, allocations: 8.031 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.3735, allocations: 50.72 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.3738, allocations: 52.81 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.3744, allocations: 194.5 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3744, allocations: 16.36 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.3744, allocations: 16.38 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3747, allocations: 125.3 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3747, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3747, allocations: 8 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3747, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.3748, allocations: 51.91 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.3755, allocations: 0.629 MB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.3756, allocations: 45.16 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.3756, allocations: 17.77 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.3756, allocations: 3.938 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3758, allocations: 93.03 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3758, allocations: 0 / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002575/0.3761, allocations: 105.5 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.3762, allocations: 81.11 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3763, allocations: 166.9 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.3764, allocations: 33.69 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3765, allocations: 124 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.3765, allocations: 15.83 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3766, allocations: 65.62 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3768, allocations: 322.8 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3769, allocations: 55.95 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3771, allocations: 112.5 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3773, allocations: 174.2 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3773, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004686/0.3778, allocations: 289 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.3778, allocations: 63.41 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3778, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3778, allocations: 4 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.438e-05/0.3779, allocations: 15.92 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3779, allocations: 0 / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.3782, allocations: 56.19 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.3782, allocations: 12 kB / 1.29 GB, free: 4.848 MB / 0.9825 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.0001463/0.3784, allocations: 138.6 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3784, allocations: 19.84 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.3784, allocations: 8.344 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3784, allocations: 4 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3784, allocations: 0 / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3784, allocations: 4 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3786, allocations: 180.6 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3786, allocations: 3.938 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-06/0.3786, allocations: 0 / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3786, allocations: 4 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3786, allocations: 3.984 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3786, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3786, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3788, allocations: 117.9 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.3788, allocations: 15.89 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3788, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3788, allocations: 0 / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.3789, allocations: 15.92 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3789, allocations: 4 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.379, allocations: 117 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.379, allocations: 0 / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002428/0.3792, allocations: 32 kB / 1.29 GB, free: 4.117 MB / 0.9825 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.0004973/0.3797, allocations: 0.6639 MB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.38, allocations: 215 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.38, allocations: 64 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.3801, allocations: 20 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3803, allocations: 24.09 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3826, allocations: 1.94 MB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.383, allocations: 0.708 MB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.3831, allocations: 13.16 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.3832, allocations: 43.42 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3832, allocations: 0 / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4157, allocations: 3.64 MB / 1.297 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.87, allocations: 15.67 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.749827589141205]