Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001803, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7828, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001898/0.7848, allocations: 0.7705 MB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.7861, allocations: 1.262 MB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.7862, allocations: 4.938 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.7863, allocations: 16.89 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.7864, allocations: 6.312 kB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006173/0.787, allocations: 216.7 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.7873, allocations: 215.1 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.7874, allocations: 35.48 kB / 0.9515 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.7875, allocations: 98.2 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.7878, allocations: 93.2 kB / 0.9517 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.7878, allocations: 11.97 kB / 0.9517 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.7879, allocations: 24.61 kB / 0.9517 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.788, allocations: 37.53 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.7881, allocations: 80.75 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.7883, allocations: 204.7 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7884, allocations: 1.375 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7884, allocations: 0 / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.7884, allocations: 0 / 0.9521 GB, free: 6.93 MB / 0.7169 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.0004911/0.7889, allocations: 0.4917 MB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.7889, allocations: 13.25 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.789, allocations: 42.84 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.789, allocations: 16.22 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.7896, allocations: 270 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.7896, allocations: 15.33 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.7897, allocations: 13 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.7898, allocations: 136.1 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.7899, allocations: 4 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7899, allocations: 6.312 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7899, allocations: 2.312 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.79, allocations: 50.03 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.7905, allocations: 0.6609 MB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.7905, allocations: 42.3 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.7906, allocations: 21.72 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.7906, allocations: 9.109 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.7907, allocations: 97.27 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7908, allocations: 0 / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002255/0.791, allocations: 101 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.791, allocations: 78.64 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7911, allocations: 168.2 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.7912, allocations: 37.8 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.7912, allocations: 118.5 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.7913, allocations: 14.45 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.7914, allocations: 56.3 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.7914, allocations: 326.2 kB / 0.9547 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.7915, allocations: 47.84 kB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.7917, allocations: 105.4 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.7918, allocations: 177.7 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7918, allocations: 1.312 kB / 0.9551 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000392/0.7922, allocations: 271.6 kB / 0.9553 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.7923, allocations: 68.16 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7923, allocations: 1.156 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7923, allocations: 6.953 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.7923, allocations: 2.75 kB / 0.9554 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7924, allocations: 14.84 kB / 0.9554 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.7927, allocations: 51.84 kB / 0.9555 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.7927, allocations: 18.52 kB / 0.9555 GB, free: 3.723 MB / 0.7169 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.0001106/0.7928, allocations: 135.9 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.7928, allocations: 16.69 kB / 0.9556 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.7929, allocations: 15.62 kB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7929, allocations: 1.188 kB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7929, allocations: 1.062 kB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7929, allocations: 1.188 kB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.793, allocations: 207.2 kB / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.793, allocations: 0 / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.793, allocations: 3.062 kB / 0.9558 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7931, allocations: 4.359 kB / 0.9558 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.7931, allocations: 2.469 kB / 0.9558 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.7931, allocations: 3.938 kB / 0.9558 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7931, allocations: 5.531 kB / 0.9559 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.7932, allocations: 118.9 kB / 0.956 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.7932, allocations: 83.77 kB / 0.956 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7932, allocations: 1.312 kB / 0.956 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.7933, allocations: 1.688 kB / 0.9561 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.7933, allocations: 10.55 kB / 0.9561 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7933, allocations: 2.562 kB / 0.9561 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.7934, allocations: 119.1 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7934, allocations: 1.188 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002521/0.7936, allocations: 41 kB / 0.9562 GB, free: 3.016 MB / 0.7169 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.0003272/0.794, allocations: 0.6547 MB / 0.9569 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.7943, allocations: 241 kB / 0.9571 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7943, allocations: 0 / 0.9571 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.7944, allocations: 18.06 kB / 0.9571 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.7946, allocations: 17.27 kB / 0.9571 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.7965, allocations: 1.953 MB / 0.959 GB, free: 500 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.7967, allocations: 0.7061 MB / 0.9597 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.403e-05/0.7967, allocations: 12.41 kB / 0.9597 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.7968, allocations: 40.77 kB / 0.9598 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7968, allocations: 0 / 0.9598 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.8123, allocations: 3.227 MB / 0.9629 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.8126, allocations: 221.8 kB / 0.9631 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.554, allocations: 1.828 kB / 0.9631 GB, free: 13.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches