Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001441/0.001441, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001574/0.001574, allocations: 159.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.958/2.958, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.48e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002053/0.002087, allocations: 0.6958 MB / 0.9821 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.004039, allocations: 1.267 MB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.004096, allocations: 3.938 kB / 0.9834 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.004212, allocations: 11.92 kB / 0.9834 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.828e-05/0.00427, allocations: 19.86 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.005053, allocations: 254.2 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.005426, allocations: 247.5 kB / 0.9839 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.00557, allocations: 23.97 kB / 0.9839 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.00579, allocations: 143.8 kB / 0.984 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.006011, allocations: 71.77 kB / 0.9841 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.006068, allocations: 20 kB / 0.9841 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.006183, allocations: 39.97 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.006259, allocations: 27.92 kB / 0.9842 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.006388, allocations: 75.81 kB / 0.9842 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.006786, allocations: 271.2 kB / 0.9845 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006789, allocations: 4 kB / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00679, allocations: 0 / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.006796, allocations: 0 / 0.9845 GB, free: 8.824 MB / 0.9356 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.0006795/0.007475, allocations: 433.1 kB / 0.9849 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.007514, allocations: 8.031 kB / 0.9849 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.007897, allocations: 64.8 kB / 0.985 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.008468, allocations: 193.7 kB / 0.9852 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.008489, allocations: 8.375 kB / 0.9852 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.008527, allocations: 20.38 kB / 0.9852 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.008758, allocations: 135.6 kB / 0.9853 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.008767, allocations: 4.188 kB / 0.9853 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.00878, allocations: 384 / 0.9853 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.00879, allocations: 8.125 kB / 0.9853 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.008889, allocations: 51.91 kB / 0.9854 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.009573, allocations: 0.5711 MB / 0.9859 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.009656, allocations: 45.08 kB / 0.986 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.00969, allocations: 21.84 kB / 0.986 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.009698, allocations: 0 / 0.986 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.009898, allocations: 101 kB / 0.9861 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.0099, allocations: 0 / 0.9861 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002722/0.01017, allocations: 109.8 kB / 0.9862 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.01023, allocations: 77.11 kB / 0.9863 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01042, allocations: 174.2 kB / 0.9865 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.01046, allocations: 33.7 kB / 0.9865 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01057, allocations: 124 kB / 0.9866 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.01059, allocations: 11.91 kB / 0.9866 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.01069, allocations: 57.67 kB / 0.9867 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01085, allocations: 330.8 kB / 0.987 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.01103, allocations: 111.4 kB / 0.9871 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.01128, allocations: 235.2 kB / 0.9873 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.01152, allocations: 170.2 kB / 0.9875 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01152, allocations: 3.984 kB / 0.9875 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005228/0.01205, allocations: 332.2 kB / 0.9878 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.01212, allocations: 63.41 kB / 0.9879 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01213, allocations: 4 kB / 0.9879 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01215, allocations: 3.938 kB / 0.9879 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.01217, allocations: 11.92 kB / 0.9879 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.01218, allocations: 4 kB / 0.9879 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.01253, allocations: 64.08 kB / 0.9879 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.01256, allocations: 8 kB / 0.988 GB, free: 4.918 MB / 0.9356 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.0001626/0.01272, allocations: 144 kB / 0.9881 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.01274, allocations: 7.953 kB / 0.9881 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.01278, allocations: 12.34 kB / 0.9881 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01278, allocations: 3.938 kB / 0.9881 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01278, allocations: 0 / 0.9881 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01279, allocations: 7.938 kB / 0.9881 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.01293, allocations: 141.3 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01294, allocations: 0 / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.01295, allocations: 3.938 kB / 0.9883 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01295, allocations: 4 kB / 0.9883 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.01296, allocations: 0 / 0.9883 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01296, allocations: 0 / 0.9883 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.01296, allocations: 7.922 kB / 0.9883 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01312, allocations: 117.9 kB / 0.9884 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01314, allocations: 11.94 kB / 0.9884 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.01316, allocations: 0 / 0.9884 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.01318, allocations: 4 kB / 0.9884 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.01321, allocations: 15.92 kB / 0.9884 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01322, allocations: 7.938 kB / 0.9884 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01333, allocations: 115.2 kB / 0.9885 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01333, allocations: 0 / 0.9885 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002653/0.01359, allocations: 39.89 kB / 0.9886 GB, free: 4.227 MB / 0.9356 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.0001665/0.01376, allocations: 105.9 kB / 0.9887 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.01415, allocations: 266.1 kB / 0.9889 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01415, allocations: 4.5 kB / 0.9889 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.0142, allocations: 28.06 kB / 0.989 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.01444, allocations: 20.02 kB / 0.989 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.01492, allocations: 239.1 kB / 0.9892 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01503, allocations: 101.8 kB / 0.9893 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.01507, allocations: 16.97 kB / 0.9893 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.01509, allocations: 12.5 kB / 0.9893 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.01509, allocations: 0 / 0.9893 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.005801/0.02089, allocations: 2.075 MB / 0.9914 GB, free: 1.332 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.451098047196865]