Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.0008858/0.0008858, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0008483/0.0008483, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8878/0.8878, allocations: 177.2 MB / 203.5 MB, free: 5.746 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.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.68 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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.706e-05, allocations: 6.219 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001594/0.001611, allocations: 0.9728 MB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.002963, allocations: 1.497 MB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.003032, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.003144, allocations: 27.67 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.003207, allocations: 47.53 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.003893, allocations: 475 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.004233, allocations: 0.5153 MB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.004411, allocations: 92.09 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.004608, allocations: 295.6 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.004766, allocations: 147.6 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.004816, allocations: 52 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.004897, allocations: 55.98 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.004956, allocations: 67.75 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.005079, allocations: 151.7 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.00548, allocations: 0.5844 MB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005482, allocations: 4 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005483, allocations: 0 / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.005488, allocations: 0 / 1.006 GB, free: 8.043 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006014/0.006089, allocations: 0.6251 MB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.006125, allocations: 12.69 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.006202, allocations: 44.75 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.006735, allocations: 289.7 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.006761, allocations: 28.73 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.006802, allocations: 28.38 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.007089, allocations: 365.6 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007098, allocations: 192 / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.007114, allocations: 8.375 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007121, allocations: 12.11 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.007269, allocations: 143.3 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.008014, allocations: 0.6131 MB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.008201, allocations: 174.4 kB / 1.008 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.008377, allocations: 200.6 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.008389, allocations: 8 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.00863, allocations: 339 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.008632, allocations: 0 / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.0007304/0.009362, allocations: 427.1 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.00941, allocations: 114.8 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.00958, allocations: 277.6 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.009619, allocations: 41.7 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.009707, allocations: 160.8 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.009741, allocations: 71.53 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.009869, allocations: 137.6 kB / 1.01 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.009952, allocations: 338.8 kB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.01023, allocations: 319.5 kB / 1.01 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.01055, allocations: 498.5 kB / 1.011 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.01094, allocations: 0.5232 MB / 1.011 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01095, allocations: 3.938 kB / 1.011 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000712/0.01166, allocations: 0.8527 MB / 1.012 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.01171, allocations: 130.7 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01172, allocations: 4 kB / 1.012 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01173, allocations: 4 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.01179, allocations: 27.86 kB / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.0118, allocations: 4 kB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.01212, allocations: 135.9 kB / 1.012 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.01218, allocations: 71.84 kB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001325/0.01231, allocations: 189.7 kB / 1.013 GB, free: 388 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.01234, allocations: 35.73 kB / 1.013 GB, free: 352 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.01268, allocations: 348.5 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01268, allocations: 4 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01269, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01269, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.0132, allocations: 0.6434 MB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0132, allocations: 0 / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.01324, allocations: 16 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01324, allocations: 7.922 kB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01325, allocations: 12 kB / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01325, allocations: 0 / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01325, allocations: 0 / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.01353, allocations: 417.5 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01355, allocations: 27.75 kB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.01357, allocations: 11.98 kB / 1.014 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.01364, allocations: 12 kB / 1.014 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.01367, allocations: 23.95 kB / 1.014 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01369, allocations: 12 kB / 1.014 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000102/0.01379, allocations: 181.2 kB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01379, allocations: 0 / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002521/0.01404, allocations: 91.89 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000118/0.01416, allocations: 125.1 kB / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.01471, allocations: 0.7265 MB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01471, allocations: 0 / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01483, allocations: 131.8 kB / 1.015 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.01535, allocations: 67.44 kB / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.01592, allocations: 0.5364 MB / 1.016 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.01601, allocations: 160.1 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.01605, allocations: 36.48 kB / 1.016 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.01605, allocations: 0 / 1.016 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of Templates: time 0.004061/0.02011, allocations: 4.436 MB / 1.021 GB, free: 8.184 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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: 6.815418806858361]