Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009078, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7981, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001556/0.7997, allocations: 0.71 MB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.802, allocations: 1.436 MB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.8023, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.8024, allocations: 15.8 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.8026, allocations: 27.78 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.8042, allocations: 406.8 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007216/0.8049, allocations: 415.8 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.8053, allocations: 114 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.8057, allocations: 155.5 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.8061, allocations: 127.5 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.8062, allocations: 20 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.8064, allocations: 39.97 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.8065, allocations: 47.78 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.8067, allocations: 77.52 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.8071, allocations: 373 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8072, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.729e-06/0.8072, allocations: 3.984 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.8072, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 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.0009479/0.8081, allocations: 0.5953 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8082, allocations: 12.56 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.8084, allocations: 43.62 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/0.8094, allocations: 370.7 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.8094, allocations: 24.33 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.8095, allocations: 36 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.81, allocations: 244.2 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.81, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.81, allocations: 8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.8101, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.8103, allocations: 139.3 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.8119, allocations: 0.7694 MB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.8122, allocations: 180.2 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.8125, allocations: 222.2 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.8125, allocations: 0 / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.8128, allocations: 245.6 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.8128, allocations: 4 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006936/0.8135, allocations: 420 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.8136, allocations: 122.7 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.8139, allocations: 282.5 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.814, allocations: 41.7 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.8142, allocations: 160.6 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.8142, allocations: 55.25 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.8143, allocations: 16 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8144, allocations: 342.8 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.8148, allocations: 196.3 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.8152, allocations: 316.3 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.8157, allocations: 332 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8157, allocations: 0 / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001185/0.8169, allocations: 0.7168 MB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.817, allocations: 126.8 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.817, allocations: 416 / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.817, allocations: 15.98 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.8171, allocations: 19.92 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8171, allocations: 7.938 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/0.8178, allocations: 183.3 kB / 1.032 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.8179, allocations: 71.86 kB / 1.032 GB, free: 5.504 MB / 0.7794 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],extIndBoo.u[2],extIndBoo.u[3],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,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.8182, allocations: 182 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.8182, allocations: 23.72 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.8187, allocations: 364.1 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8188, allocations: 4 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8188, allocations: 0 / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8188, allocations: 0 / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.8196, allocations: 0.7206 MB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8197, allocations: 0 / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.8197, allocations: 19.92 kB / 1.034 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8197, allocations: 4 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.8198, allocations: 8 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8198, allocations: 3.953 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8198, allocations: 0 / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.8203, allocations: 411.6 kB / 1.034 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.8204, allocations: 108.8 kB / 1.034 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.8204, allocations: 8 kB / 1.034 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.8205, allocations: 14.23 kB / 1.034 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.8206, allocations: 31.86 kB / 1.034 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.8206, allocations: 12 kB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001917/0.8208, allocations: 190 kB / 1.034 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8208, allocations: 0 / 1.034 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004258/0.8213, allocations: 83.91 kB / 1.034 GB, free: 3.242 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.8215, allocations: 121.5 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000923/0.8224, allocations: 0.6574 MB / 1.035 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8224, allocations: 0 / 1.035 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.8226, allocations: 147.8 kB / 1.035 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.8231, allocations: 57.33 kB / 1.035 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.824, allocations: 0.5577 MB / 1.036 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.8243, allocations: 0.7612 MB / 1.037 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.8245, allocations: 74.84 kB / 1.037 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.8246, allocations: 39.42 kB / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.8246, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of Templates: time 0.009195/0.8338, allocations: 4.556 MB / 1.041 GB, free: 12.24 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches