Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001117/0.001117, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001721/0.001721, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.9374/0.9374, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.122/2.122, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.178e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.006961/0.006983, allocations: 0.8732 MB / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.008754, allocations: 1.349 MB / 0.8804 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.008834, allocations: 4 kB / 0.8804 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.008956, allocations: 17.36 kB / 0.8804 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.273e-05/0.009039, allocations: 35.72 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.01284, allocations: 264 kB / 0.8807 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.01323, allocations: 332 kB / 0.881 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.01338, allocations: 33.66 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.0136, allocations: 181.2 kB / 0.8812 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.01376, allocations: 87.75 kB / 0.8813 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.0138, allocations: 32 kB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.0139, allocations: 51.91 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.01397, allocations: 49.12 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.01408, allocations: 91.8 kB / 0.8815 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.01439, allocations: 247.2 kB / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01439, allocations: 3.281 kB / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01439, allocations: 0 / 0.8817 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.0144, allocations: 0 / 0.8817 GB, free: 3.027 MB / 0.8386 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.0006476/0.01504, allocations: 0.5771 MB / 0.8823 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01508, allocations: 8.031 kB / 0.8823 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.0154, allocations: 72.8 kB / 0.8824 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.01586, allocations: 232.3 kB / 0.8826 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.01589, allocations: 16.97 kB / 0.8826 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.01592, allocations: 14 kB / 0.8826 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.01612, allocations: 150.7 kB / 0.8828 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.01613, allocations: 192 / 0.8828 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.01615, allocations: 8.375 kB / 0.8828 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01616, allocations: 4.125 kB / 0.8828 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.01623, allocations: 41.31 kB / 0.8828 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.01691, allocations: 0.8322 MB / 0.8836 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.01699, allocations: 74.05 kB / 0.8837 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.01702, allocations: 19.44 kB / 0.8837 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.01703, allocations: 4 kB / 0.8837 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.01719, allocations: 112.3 kB / 0.8838 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.01719, allocations: 0 / 0.8838 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002457/0.01743, allocations: 109.9 kB / 0.8839 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.01748, allocations: 89.05 kB / 0.884 GB, free: 464 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01766, allocations: 258.7 kB / 0.8843 GB, free: 184 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.01769, allocations: 37.7 kB / 0.8843 GB, free: 140 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.01781, allocations: 191.1 kB / 0.8845 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.01783, allocations: 19.83 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.01792, allocations: 67.34 kB / 0.8846 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01805, allocations: 0.5001 MB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.0182, allocations: 115.4 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01838, allocations: 259.6 kB / 0.8854 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.01856, allocations: 212.7 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01856, allocations: 0 / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004122/0.01897, allocations: 352.2 kB / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.01902, allocations: 69.83 kB / 0.886 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01903, allocations: 4 kB / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.01905, allocations: 0 / 0.886 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.0191, allocations: 12.19 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.01912, allocations: 11.94 kB / 0.886 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.0193, allocations: 43.91 kB / 0.8861 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.01933, allocations: 8 kB / 0.8861 GB, free: 14.11 MB / 0.8542 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.0001158/0.01944, allocations: 182.8 kB / 0.8863 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.01947, allocations: 19.84 kB / 0.8863 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01951, allocations: 13.03 kB / 0.8863 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01951, allocations: 11.98 kB / 0.8863 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01952, allocations: 0 / 0.8863 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01952, allocations: 0 / 0.8863 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01966, allocations: 172.6 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01966, allocations: 3.938 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.01968, allocations: 7.938 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01969, allocations: 4 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.01969, allocations: 3.938 kB / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.0197, allocations: 4 kB / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0197, allocations: 0 / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.01985, allocations: 140 kB / 0.8866 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01986, allocations: 15.91 kB / 0.8866 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01988, allocations: 11.92 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.01991, allocations: 4 kB / 0.8867 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01994, allocations: 7.984 kB / 0.8867 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01995, allocations: 4 kB / 0.8867 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000102/0.02005, allocations: 177.4 kB / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02005, allocations: 3.938 kB / 0.8868 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002577/0.02031, allocations: 47.89 kB / 0.8869 GB, free: 13.22 MB / 0.8542 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.0001446/0.02045, allocations: 103.2 kB / 0.887 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.02077, allocations: 293.8 kB / 0.8873 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02077, allocations: 0 / 0.8873 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.02082, allocations: 31.61 kB / 0.8873 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.02108, allocations: 35.91 kB / 0.8873 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.02154, allocations: 306.9 kB / 0.8876 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.02158, allocations: 71.98 kB / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.204e-05/0.02163, allocations: 17.48 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.02166, allocations: 16.5 kB / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.02166, allocations: 0 / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.005113/0.02677, allocations: 2.677 MB / 0.8903 GB, free: 9.652 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.5147251249291]