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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005807/0.005808, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001384/0.001384, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 0.8692 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7894, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002522/0.7919, allocations: 0.7648 MB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.7939, allocations: 1.265 MB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.794, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.7941, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.7942, allocations: 15.84 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.7949, allocations: 227.7 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.7952, allocations: 211.7 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.7953, allocations: 39.95 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.7954, allocations: 99.75 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.7957, allocations: 95.75 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.7957, allocations: 8 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.7958, allocations: 27.98 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.7959, allocations: 23.92 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.796, allocations: 79.62 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.7962, allocations: 161.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7962, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.42e-07/0.7962, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.7963, allocations: 4 kB / 1.02 GB, free: 15.74 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.0006322/0.7969, allocations: 0.4944 MB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.7969, allocations: 11.97 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.797, allocations: 32.73 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.7976, allocations: 248.2 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.7977, allocations: 12.38 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.7977, allocations: 12.38 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.7979, allocations: 135.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7979, allocations: 7.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7979, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.798, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.7981, allocations: 51.91 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.7987, allocations: 0.661 MB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.7988, allocations: 41.08 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.7988, allocations: 21.78 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.7989, allocations: 8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.7991, allocations: 96.95 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.7991, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002495/0.7993, allocations: 101.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.7994, allocations: 85.11 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.7995, allocations: 171.6 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.7996, allocations: 33.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.7997, allocations: 119.9 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.7997, allocations: 15.8 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.7998, allocations: 57.67 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7999, allocations: 322.8 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.8, allocations: 51.97 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.8002, allocations: 106.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.8004, allocations: 178.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8004, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004006/0.8008, allocations: 268.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.8009, allocations: 67.39 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8009, allocations: 256 / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8009, allocations: 8 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.8009, allocations: 4 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.8009, allocations: 7.938 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.8012, allocations: 55.78 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.8013, allocations: 15.98 kB / 1.024 GB, free: 11.91 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.0001258/0.8014, allocations: 139 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.8014, allocations: 11.84 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.8015, allocations: 12.25 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8015, allocations: 4 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8015, allocations: 96 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8015, allocations: 7.922 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.8017, allocations: 193.6 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.8017, allocations: 7.938 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.8017, allocations: 7.984 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8017, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.8017, allocations: 8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.8017, allocations: 3.984 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8017, allocations: 7.875 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.8019, allocations: 109.9 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.8019, allocations: 92.86 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.802, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.802, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.802, allocations: 11.98 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.8021, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.8021, allocations: 118.5 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8021, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000248/0.8024, allocations: 35.94 kB / 1.024 GB, free: 11.04 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.0001468/0.8026, allocations: 111.2 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.8029, allocations: 239.1 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8029, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.153e-05/0.803, allocations: 31.91 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.8032, allocations: 23.92 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.8037, allocations: 298.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.804, allocations: 0.7123 MB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.804, allocations: 15.42 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.804, allocations: 4 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of Templates: time 0.003689/0.8077, allocations: 1.838 MB / 1.028 GB, free: 7.707 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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