Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001007/0.001007, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009939/0.0009939, allocations: 169 kB / 24.28 MB, free: 280 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.9794/0.9794, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.793/1.793, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.021e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001631/0.001661, allocations: 0.9807 MB / 0.7881 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.003307, allocations: 1.385 MB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.003393, allocations: 1.062 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003516, allocations: 19.73 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.003598, allocations: 48.38 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.004263, allocations: 272.8 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.004621, allocations: 379.2 kB / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.004771, allocations: 48.89 kB / 0.7902 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.004991, allocations: 215.6 kB / 0.7904 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.005138, allocations: 111.7 kB / 0.7905 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.005178, allocations: 32 kB / 0.7905 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.005272, allocations: 51.94 kB / 0.7905 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.005343, allocations: 59.75 kB / 0.7906 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.005447, allocations: 103.8 kB / 0.7907 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.005735, allocations: 283.1 kB / 0.791 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005737, allocations: 1.094 kB / 0.791 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005738, allocations: 0 / 0.791 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.005742, allocations: 0 / 0.791 GB, free: 8.859 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006751/0.006417, allocations: 0.6294 MB / 0.7916 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.006452, allocations: 8.031 kB / 0.7916 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.006723, allocations: 88.7 kB / 0.7917 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.007166, allocations: 289.3 kB / 0.792 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.007192, allocations: 16.38 kB / 0.792 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.00722, allocations: 21.91 kB / 0.792 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.007453, allocations: 185.2 kB / 0.7922 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007463, allocations: 1.844 kB / 0.7922 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.007478, allocations: 4.375 kB / 0.7922 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.007489, allocations: 8.125 kB / 0.7922 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.007568, allocations: 39.91 kB / 0.7922 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.008254, allocations: 1.009 MB / 0.7932 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.008376, allocations: 152 kB / 0.7933 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.008424, allocations: 55.14 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.008433, allocations: 0.5 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.008577, allocations: 156.9 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.008578, allocations: 0 / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002514/0.00883, allocations: 134.9 kB / 0.7937 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.008892, allocations: 166.2 kB / 0.7938 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.009056, allocations: 268.8 kB / 0.7941 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.009082, allocations: 33.69 kB / 0.7941 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.009176, allocations: 199.8 kB / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.009203, allocations: 32.39 kB / 0.7943 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.009276, allocations: 63.34 kB / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.009391, allocations: 0.5014 MB / 0.7949 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.00951, allocations: 119.4 kB / 0.795 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.009669, allocations: 263.3 kB / 0.7953 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.009834, allocations: 219.7 kB / 0.7955 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009836, allocations: 0 / 0.7955 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003455/0.01018, allocations: 366 kB / 0.7958 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.01022, allocations: 59.41 kB / 0.7959 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.01022, allocations: 4.625 kB / 0.7959 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01024, allocations: 4 kB / 0.7959 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.01032, allocations: 30.39 kB / 0.7959 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01033, allocations: 7.984 kB / 0.7959 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.01047, allocations: 48.36 kB / 0.796 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.01049, allocations: 13.81 kB / 0.796 GB, free: 3.203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 9.798e-05/0.01059, allocations: 178.4 kB / 0.7962 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01062, allocations: 27.8 kB / 0.7962 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.01066, allocations: 25.84 kB / 0.7962 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01066, allocations: 4 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01066, allocations: 0.5625 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.01067, allocations: 4.656 kB / 0.7962 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.01081, allocations: 192.5 kB / 0.7964 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01081, allocations: 0.6875 kB / 0.7964 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.01085, allocations: 17.08 kB / 0.7964 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01086, allocations: 4 kB / 0.7964 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01087, allocations: 7.938 kB / 0.7964 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01087, allocations: 4.594 kB / 0.7964 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01087, allocations: 3.984 kB / 0.7964 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.01104, allocations: 187.8 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.01106, allocations: 27.55 kB / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.01108, allocations: 11.88 kB / 0.7967 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.01112, allocations: 11.98 kB / 0.7967 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01117, allocations: 11.98 kB / 0.7967 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01118, allocations: 11.98 kB / 0.7967 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.088e-05/0.01127, allocations: 185.1 kB / 0.7969 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01127, allocations: 0 / 0.7969 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001973/0.01147, allocations: 51.89 kB / 0.7969 GB, free: 2.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.000116/0.01158, allocations: 104.5 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.01188, allocations: 298.7 kB / 0.7973 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01188, allocations: 0 / 0.7973 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.01194, allocations: 44.72 kB / 0.7973 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01216, allocations: 54.62 kB / 0.7974 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.01263, allocations: 383.3 kB / 0.7978 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01268, allocations: 85.22 kB / 0.7978 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.01275, allocations: 33.62 kB / 0.7979 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.01279, allocations: 20.5 kB / 0.7979 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01279, allocations: 0 / 0.7979 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of Templates: time 0.004919/0.01771, allocations: 3.331 MB / 0.8011 GB, free: 13.81 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.202945285011083]