Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007902/0.0007902, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008006/0.0008006, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8853/0.8853, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.838e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001724/0.001752, allocations: 0.6997 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.003421, allocations: 1.268 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.003482, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.003595, allocations: 19.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.003652, allocations: 15.86 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006904/0.004343, allocations: 245.8 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.004645, allocations: 247.6 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.004785, allocations: 27.97 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.004974, allocations: 139.8 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.005123, allocations: 63.83 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.005165, allocations: 20 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.005271, allocations: 39.92 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.005345, allocations: 43.83 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.005436, allocations: 67.89 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.005766, allocations: 263.2 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005768, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.493e-06/0.00577, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.005775, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 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.0006066/0.006382, allocations: 437 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.006423, allocations: 12.69 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.006756, allocations: 60.81 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.007211, allocations: 199.5 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.007232, allocations: 12.38 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.007266, allocations: 12.38 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.007476, allocations: 135.8 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.007486, allocations: 192 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.0075, allocations: 4.375 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007508, allocations: 8.125 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.007591, allocations: 47.91 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.008144, allocations: 0.575 MB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.008211, allocations: 41.09 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.008235, allocations: 21.83 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.008245, allocations: 4 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.008454, allocations: 93.02 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.008455, allocations: 0 / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0002382/0.008693, allocations: 97.56 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.008747, allocations: 89.03 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.008884, allocations: 174.2 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.008914, allocations: 33.69 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.008994, allocations: 124 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.009006, allocations: 11.91 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.009096, allocations: 57.69 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.009231, allocations: 326.8 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.00938, allocations: 123.3 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.009554, allocations: 226.5 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.009733, allocations: 182.2 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009736, allocations: 0 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004084/0.01014, allocations: 332.1 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.01019, allocations: 63.39 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.0102, allocations: 4 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.01022, allocations: 3.938 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.89e-05/0.01024, allocations: 4 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01025, allocations: 8.188 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.01049, allocations: 59.88 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.01051, allocations: 15.98 kB / 1.007 GB, free: 5.973 MB / 0.9636 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.0001044/0.01062, allocations: 133.8 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.01063, allocations: 11.91 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.01067, allocations: 16.33 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01067, allocations: 7.938 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01068, allocations: 4 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01069, allocations: 4 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.0108, allocations: 141.3 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.0108, allocations: 0 / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.0108, allocations: 4 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.01081, allocations: 4 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01081, allocations: 0 / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01082, allocations: 0 / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01082, allocations: 7.875 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.01095, allocations: 110.3 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.01096, allocations: 11.95 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.01098, allocations: 4 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.57e-05/0.011, allocations: 4 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.01104, allocations: 15.91 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.01104, allocations: 0 / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.01112, allocations: 124.1 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01112, allocations: 0 / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003368/0.01146, allocations: 39.88 kB / 1.008 GB, free: 5.273 MB / 0.9636 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.0001551/0.01162, allocations: 107.2 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.01193, allocations: 274 kB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01193, allocations: 0 / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.01198, allocations: 23.94 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01222, allocations: 28 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.01265, allocations: 268.7 kB / 1.009 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.453e-05/0.01274, allocations: 102.3 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.01276, allocations: 16.5 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01276, allocations: 0 / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of Templates: time 0.003342/0.01611, allocations: 1.91 MB / 1.011 GB, free: 2.48 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.008030041120946]