Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_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.001138/0.001137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 67.89 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7328, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00262/0.7354, allocations: 0.7019 MB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.7374, allocations: 1.249 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.7375, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.7376, allocations: 15.86 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.7377, allocations: 7.875 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.7387, allocations: 231.1 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.7391, allocations: 267.5 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.7393, allocations: 32.55 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.7396, allocations: 107.7 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.7399, allocations: 87.78 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.7399, allocations: 24 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.7401, allocations: 35.98 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.7401, allocations: 35.91 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.7403, allocations: 83.64 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.7406, allocations: 213.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7406, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7406, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.7406, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 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.0007308/0.7414, allocations: 0.4961 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7414, allocations: 8.031 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.7415, allocations: 50.73 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.7416, allocations: 24.75 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.7423, allocations: 260 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.7423, allocations: 12.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.7424, allocations: 16.38 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.7426, allocations: 125.4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.7426, allocations: 3.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.7427, allocations: 7.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.7427, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.7428, allocations: 47.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.7436, allocations: 0.6688 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.7437, allocations: 37.22 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.7437, allocations: 25.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.7437, allocations: 7.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.7439, allocations: 85.09 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.7439, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003199/0.7442, allocations: 97.52 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.7443, allocations: 81.09 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.7445, allocations: 183.6 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.7445, allocations: 33.69 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7447, allocations: 119.8 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7447, allocations: 11.91 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.7448, allocations: 61.53 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7449, allocations: 322.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.7451, allocations: 51.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7452, allocations: 106.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.7455, allocations: 182.6 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.7455, allocations: 7.938 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000428/0.7459, allocations: 260.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.746, allocations: 67.39 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.746, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.746, allocations: 8.188 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.016e-05/0.7461, allocations: 7.938 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.7461, allocations: 7.984 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.7464, allocations: 59.78 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.7465, allocations: 12 kB / 1.024 GB, free: 11.5 MB / 0.7794 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.0001351/0.7466, allocations: 141.3 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.7466, allocations: 19.83 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.7467, allocations: 12.25 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7467, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7467, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7467, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7469, allocations: 201.6 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7469, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.7469, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7469, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7469, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7469, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.747, allocations: 7.984 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.7471, allocations: 113.8 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.7472, allocations: 89 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.7472, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.7472, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.7473, allocations: 8 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.7473, allocations: 11.98 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.7474, allocations: 115.2 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7474, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002743/0.7477, allocations: 39.84 kB / 1.025 GB, free: 10.64 MB / 0.7794 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.000499/0.7482, allocations: 0.66 MB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.7485, allocations: 230.7 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7485, allocations: 0 / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.7486, allocations: 27.92 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.7488, allocations: 27.86 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.7513, allocations: 1.909 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.7516, allocations: 0.708 MB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.7517, allocations: 12.88 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.7517, allocations: 39.42 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of SimCode: time 1.964e-06/0.7517, allocations: 4 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.7889, allocations: 3.407 MB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.518, allocations: 7.734 kB / 1.031 GB, free: 3.531 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches