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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 489.3 MB / 0.7687 GB, free: 3.703 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",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.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.996, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001816/0.9978, allocations: 0.8743 MB / 1.263 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.9993, allocations: 1.295 MB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.9994, allocations: 1.5 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.9995, allocations: 19.97 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.9996, allocations: 31.44 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/1, allocations: 257.8 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/1.001, allocations: 337.6 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/1.001, allocations: 68.81 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/1.001, allocations: 126.3 kB / 1.266 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/1.001, allocations: 107.2 kB / 1.266 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/1.001, allocations: 33.12 kB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/1.001, allocations: 49.34 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/1.002, allocations: 50.61 kB / 1.266 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/1.002, allocations: 124 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004509/1.002, allocations: 351.3 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.002, allocations: 0.9062 kB / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/1.002, allocations: 0 / 1.266 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.002, allocations: 0 / 1.266 GB, free: 5.793 MB / 0.9981 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.0006143/1.003, allocations: 0.5476 MB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/1.003, allocations: 9.219 kB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/1.003, allocations: 28.03 kB / 1.267 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/1.003, allocations: 309.2 kB / 1.267 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/1.004, allocations: 13.2 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/1.004, allocations: 19.95 kB / 1.267 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/1.004, allocations: 150.9 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.004, allocations: 4.781 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.004, allocations: 8.875 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.004, allocations: 3 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.004, allocations: 68.22 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/1.005, allocations: 0.7549 MB / 1.268 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/1.005, allocations: 58.64 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/1.005, allocations: 31.19 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.005, allocations: 0.7812 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/1.005, allocations: 97.52 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.005, allocations: 0 / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0002914/1.005, allocations: 130 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.005, allocations: 79.58 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/1.006, allocations: 215.2 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.006, allocations: 33.83 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/1.006, allocations: 136.7 kB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/1.006, allocations: 27.58 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/1.006, allocations: 68.77 kB / 1.269 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.006, allocations: 325 kB / 1.269 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.006, allocations: 70.19 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/1.006, allocations: 131.8 kB / 1.269 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/1.006, allocations: 201.9 kB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.006, allocations: 4.031 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004851/1.007, allocations: 291.4 kB / 1.27 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.007, allocations: 64.16 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.007, allocations: 5.828 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.007, allocations: 2.5 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/1.007, allocations: 12.94 kB / 1.27 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.007, allocations: 2.953 kB / 1.27 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/1.008, allocations: 77.05 kB / 1.27 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/1.008, allocations: 17.44 kB / 1.27 GB, free: 2.672 MB / 0.9981 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.000119/1.008, allocations: 156.2 kB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/1.008, allocations: 15.34 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/1.008, allocations: 16.39 kB / 1.27 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.008, allocations: 5.594 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.008, allocations: 0.9688 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.008, allocations: 1.469 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/1.008, allocations: 233 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.008, allocations: 0.75 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/1.008, allocations: 4.734 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.008, allocations: 1.531 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/1.008, allocations: 2.516 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.008, allocations: 0.5938 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.008, allocations: 4.594 kB / 1.27 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/1.008, allocations: 146.6 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/1.008, allocations: 93.53 kB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.008, allocations: 2.438 kB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/1.008, allocations: 1.906 kB / 1.271 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/1.008, allocations: 10.53 kB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.008, allocations: 3.688 kB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001032/1.008, allocations: 145.1 kB / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.008, allocations: 0 / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002848/1.009, allocations: 49.08 kB / 1.271 GB, free: 1.965 MB / 0.9981 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.0001814/1.009, allocations: 106.2 kB / 1.271 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004148/1.009, allocations: 261.1 kB / 1.271 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.009, allocations: 0 / 1.271 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.5e-05/1.009, allocations: 32.39 kB / 1.271 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/1.01, allocations: 49.7 kB / 1.271 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/1.01, allocations: 338.5 kB / 1.272 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/1.01, allocations: 0.7277 MB / 1.272 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/1.01, allocations: 16.47 kB / 1.272 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.01, allocations: 0 / 1.272 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of Templates: time 0.005045/1.016, allocations: 2.602 MB / 1.275 GB, free: 436 kB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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: 12.530138058122247]