Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001041/0.001041, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009504/0.0009504, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9678/0.9678, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.934/1.934, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.482e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00242/0.002455, allocations: 0.8734 MB / 0.788 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.004612, allocations: 1.343 MB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.004711, allocations: 0.7812 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.004859, allocations: 19.73 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.004963, allocations: 36.42 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.005911, allocations: 263.3 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.006388, allocations: 328.5 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.006579, allocations: 33.67 kB / 0.7899 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.006896, allocations: 188.2 kB / 0.7901 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.007108, allocations: 83.81 kB / 0.7902 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.00717, allocations: 32.75 kB / 0.7902 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.007314, allocations: 47.98 kB / 0.7902 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.00741, allocations: 52.61 kB / 0.7903 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.007537, allocations: 87.81 kB / 0.7904 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.007963, allocations: 244.8 kB / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.007968, allocations: 0 / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007969, allocations: 0 / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.007976, allocations: 0 / 0.7906 GB, free: 9.203 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009488/0.008925, allocations: 0.5743 MB / 0.7912 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.008971, allocations: 12.03 kB / 0.7912 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.009311, allocations: 72.77 kB / 0.7913 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.009748, allocations: 239.6 kB / 0.7915 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.009789, allocations: 12.38 kB / 0.7915 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.009823, allocations: 20.38 kB / 0.7915 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.01004, allocations: 154.8 kB / 0.7917 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01005, allocations: 192 / 0.7917 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.01007, allocations: 4.375 kB / 0.7917 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.01008, allocations: 8.125 kB / 0.7917 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.01015, allocations: 37.41 kB / 0.7917 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.01087, allocations: 0.832 MB / 0.7925 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.01096, allocations: 70.73 kB / 0.7926 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.01099, allocations: 20.16 kB / 0.7926 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.01099, allocations: 0 / 0.7926 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.01114, allocations: 110.5 kB / 0.7927 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.01114, allocations: 7.922 kB / 0.7927 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002301/0.01137, allocations: 105.6 kB / 0.7928 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.01141, allocations: 89.05 kB / 0.7929 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01158, allocations: 267.3 kB / 0.7932 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.01161, allocations: 33.7 kB / 0.7932 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.01171, allocations: 187.7 kB / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.01173, allocations: 19.83 kB / 0.7934 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.01181, allocations: 72.03 kB / 0.7935 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01194, allocations: 0.5001 MB / 0.794 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.01206, allocations: 108.4 kB / 0.7941 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.01222, allocations: 263.6 kB / 0.7943 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.01238, allocations: 203.9 kB / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01238, allocations: 0 / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000347/0.01273, allocations: 349.7 kB / 0.7948 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.01277, allocations: 63.34 kB / 0.7949 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01278, allocations: 7.984 kB / 0.7949 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.0128, allocations: 4.938 kB / 0.7949 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.01286, allocations: 15.94 kB / 0.7949 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.01287, allocations: 3.938 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.01303, allocations: 42.05 kB / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.01305, allocations: 15.98 kB / 0.795 GB, free: 4.297 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: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001319/0.01318, allocations: 184 kB / 0.7952 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.01321, allocations: 19.84 kB / 0.7952 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.01325, allocations: 17.03 kB / 0.7952 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01326, allocations: 0 / 0.7952 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01326, allocations: 0 / 0.7952 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.01327, allocations: 4.484 kB / 0.7952 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01341, allocations: 177.1 kB / 0.7954 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01341, allocations: 0 / 0.7954 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.01343, allocations: 13.83 kB / 0.7954 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01344, allocations: 0 / 0.7954 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.01345, allocations: 3.938 kB / 0.7954 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01345, allocations: 8 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01345, allocations: 0 / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01362, allocations: 142.6 kB / 0.7955 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01364, allocations: 15.86 kB / 0.7955 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01366, allocations: 7.922 kB / 0.7956 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.01368, allocations: 8 kB / 0.7956 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.01372, allocations: 7.922 kB / 0.7956 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01373, allocations: 4 kB / 0.7956 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.146e-05/0.01382, allocations: 177.4 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01382, allocations: 1.062 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001981/0.01402, allocations: 43.94 kB / 0.7958 GB, free: 3.422 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001574/0.01418, allocations: 103 kB / 0.7959 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.01447, allocations: 290.6 kB / 0.7962 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01447, allocations: 0 / 0.7962 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.01451, allocations: 35.77 kB / 0.7962 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01472, allocations: 34.05 kB / 0.7962 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.01513, allocations: 302.5 kB / 0.7965 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01517, allocations: 75.97 kB / 0.7966 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.01522, allocations: 28.06 kB / 0.7966 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.01525, allocations: 20.44 kB / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01525, allocations: 0 / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of Templates: time 0.004561/0.01981, allocations: 2.654 MB / 0.7992 GB, free: 15.88 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.423519997159019]