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.002323/0.002323, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00251/0.00251, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.982/2.982, allocations: 359 MB / 0.6048 GB, free: 10.93 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 1.834e-06/1.834e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.294e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001942/0.001975, allocations: 0.7098 MB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.003965, allocations: 1.274 MB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.004013, allocations: 0.7188 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.004131, allocations: 11.86 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.004188, allocations: 24.44 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.004902, allocations: 237.2 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.005269, allocations: 251.5 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005387, allocations: 20.55 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.005614, allocations: 143.8 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.005786, allocations: 76.59 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.005848, allocations: 20 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.005958, allocations: 33.3 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.006032, allocations: 35.91 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.006152, allocations: 67.88 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.006548, allocations: 266.1 kB / 0.7895 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00655, allocations: 4 kB / 0.7895 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006551, allocations: 0 / 0.7895 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.006556, allocations: 0 / 0.7895 GB, free: 9.629 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.0009161/0.007472, allocations: 0.5264 MB / 0.79 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.007517, allocations: 12.03 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.007937, allocations: 68.8 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.008542, allocations: 191.6 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.008572, allocations: 12.38 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.008613, allocations: 12.97 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.008868, allocations: 130.6 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.008881, allocations: 1.219 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.008895, allocations: 384 / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.008906, allocations: 8.125 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.008984, allocations: 32.55 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.009878, allocations: 0.7861 MB / 0.7912 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.009976, allocations: 54.06 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.49e-05/0.01001, allocations: 24.88 kB / 0.7913 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.01002, allocations: 7.938 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.01021, allocations: 114.1 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.01021, allocations: 0 / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003091/0.01052, allocations: 109.5 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.01058, allocations: 77.11 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.01082, allocations: 253.3 kB / 0.7918 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.01086, allocations: 29.7 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.011, allocations: 174.7 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.01102, allocations: 19.89 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.01114, allocations: 69.19 kB / 0.7921 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000271/0.01142, allocations: 0.4962 MB / 0.7926 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.01161, allocations: 131.4 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.01192, allocations: 275.6 kB / 0.793 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.01219, allocations: 207.5 kB / 0.7931 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0122, allocations: 4 kB / 0.7932 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005851/0.01278, allocations: 365.4 kB / 0.7935 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.01285, allocations: 67.92 kB / 0.7936 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01285, allocations: 1.594 kB / 0.7936 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.01287, allocations: 7.938 kB / 0.7936 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.045e-05/0.01289, allocations: 7.938 kB / 0.7936 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.0129, allocations: 0 / 0.7936 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.01318, allocations: 53.16 kB / 0.7936 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.01321, allocations: 12 kB / 0.7936 GB, free: 4.914 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.0001592/0.01337, allocations: 170.4 kB / 0.7938 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.0134, allocations: 15.95 kB / 0.7938 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.01343, allocations: 8.344 kB / 0.7938 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01344, allocations: 4.531 kB / 0.7938 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01344, allocations: 0.75 kB / 0.7938 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.01344, allocations: 3.984 kB / 0.7938 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.01363, allocations: 169.4 kB / 0.794 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01363, allocations: 3.938 kB / 0.794 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.01364, allocations: 4 kB / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01364, allocations: 1.812 kB / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01365, allocations: 3.984 kB / 0.794 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01365, allocations: 0 / 0.794 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.01366, allocations: 7.938 kB / 0.794 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.01385, allocations: 132.8 kB / 0.7941 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.01386, allocations: 8.016 kB / 0.7942 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01388, allocations: 12 kB / 0.7942 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.01391, allocations: 2.344 kB / 0.7942 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.01395, allocations: 15.86 kB / 0.7942 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01396, allocations: 0 / 0.7942 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001266/0.01408, allocations: 165.3 kB / 0.7943 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01408, allocations: 0 / 0.7943 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002679/0.01435, allocations: 39.89 kB / 0.7944 GB, free: 4.094 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.0001565/0.01451, allocations: 105.2 kB / 0.7945 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.01497, allocations: 322.3 kB / 0.7948 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.01497, allocations: 1.844 kB / 0.7948 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.01503, allocations: 31.61 kB / 0.7948 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.01528, allocations: 19.98 kB / 0.7948 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.01577, allocations: 258.9 kB / 0.7951 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.01588, allocations: 95.72 kB / 0.7952 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.01592, allocations: 13.47 kB / 0.7952 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.01594, allocations: 13.16 kB / 0.7952 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01594, allocations: 0 / 0.7952 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.006184/0.02213, allocations: 2.093 MB / 0.7972 GB, free: 1.129 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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.158331123064272]