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.001784/0.001784, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002168/0.002168, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.803/2.803, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.195e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002033/0.002065, allocations: 0.7037 MB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.004135, allocations: 1.273 MB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.004197, allocations: 3.938 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.004313, allocations: 7.938 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.004374, allocations: 16.77 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000796/0.00517, allocations: 236.7 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.00556, allocations: 256.6 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.005685, allocations: 23.97 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.005955, allocations: 143.8 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.006127, allocations: 64.45 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.006178, allocations: 20 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.006288, allocations: 36.7 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.006365, allocations: 39.91 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.006585, allocations: 64.78 kB / 0.7892 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.007002, allocations: 275.1 kB / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.007005, allocations: 0.6562 kB / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.007006, allocations: 0 / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.007011, allocations: 0.5938 kB / 0.7894 GB, free: 9.664 MB / 0.7448 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.000806/0.007817, allocations: 426.8 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.007856, allocations: 8.031 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.008277, allocations: 76.73 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.008882, allocations: 196.9 kB / 0.7901 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.008913, allocations: 12.38 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.008955, allocations: 12.38 kB / 0.7901 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.009207, allocations: 136.7 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.009217, allocations: 192 / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.009232, allocations: 4.375 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.009241, allocations: 8.125 kB / 0.7903 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.656e-05/0.009338, allocations: 47.91 kB / 0.7903 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.01009, allocations: 0.5744 MB / 0.7909 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.01017, allocations: 41.14 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.0102, allocations: 17.78 kB / 0.791 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.01021, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.01044, allocations: 92.98 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.01044, allocations: 0 / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003162/0.01076, allocations: 114.1 kB / 0.7912 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.01082, allocations: 81.11 kB / 0.7912 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.01102, allocations: 182.2 kB / 0.7914 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.01107, allocations: 30.42 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01119, allocations: 124 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.0112, allocations: 13.12 kB / 0.7916 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.01133, allocations: 61.67 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.01151, allocations: 322.8 kB / 0.7919 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.01169, allocations: 116 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.01196, allocations: 229.5 kB / 0.7923 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.01221, allocations: 177.2 kB / 0.7924 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01221, allocations: 0 / 0.7924 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005797/0.01279, allocations: 346.1 kB / 0.7928 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.01285, allocations: 63.41 kB / 0.7928 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.01287, allocations: 9.203 kB / 0.7928 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01289, allocations: 3.938 kB / 0.7928 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.352e-05/0.01291, allocations: 7.938 kB / 0.7928 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01292, allocations: 6.219 kB / 0.7928 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.01327, allocations: 59.77 kB / 0.7929 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.01331, allocations: 22.77 kB / 0.7929 GB, free: 5.758 MB / 0.7448 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.0001562/0.01346, allocations: 133.8 kB / 0.793 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.01349, allocations: 11.95 kB / 0.7931 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.01353, allocations: 12.28 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01353, allocations: 7.938 kB / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01353, allocations: 0 / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.01354, allocations: 5.453 kB / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.0137, allocations: 137.3 kB / 0.7932 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01371, allocations: 4 kB / 0.7932 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.01371, allocations: 0 / 0.7932 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01372, allocations: 4.484 kB / 0.7932 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01373, allocations: 4 kB / 0.7932 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01373, allocations: 0.5625 kB / 0.7932 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.01373, allocations: 5.312 kB / 0.7932 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.01391, allocations: 117.9 kB / 0.7933 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01393, allocations: 11.89 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01395, allocations: 4 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.01397, allocations: 4.562 kB / 0.7934 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01401, allocations: 17.89 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01402, allocations: 0 / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001101/0.01413, allocations: 117 kB / 0.7935 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01413, allocations: 0 / 0.7935 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002904/0.01442, allocations: 39.89 kB / 0.7935 GB, free: 5.074 MB / 0.7448 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.0001647/0.01458, allocations: 103.8 kB / 0.7936 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.01501, allocations: 276.1 kB / 0.7939 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01501, allocations: 0 / 0.7939 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.01505, allocations: 20.78 kB / 0.7939 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01532, allocations: 16.98 kB / 0.7939 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.01585, allocations: 253.9 kB / 0.7942 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01597, allocations: 105.7 kB / 0.7943 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.01601, allocations: 8.984 kB / 0.7943 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.01604, allocations: 16.44 kB / 0.7943 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01604, allocations: 0 / 0.7943 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.006495/0.02254, allocations: 2.091 MB / 0.7963 GB, free: 2.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.009739305940457]