Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01009/0.01009, allocations: 172.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.000437, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.794, allocations: 142.4 MB / 0.9551 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001432/0.7956, allocations: 446.2 kB / 0.9555 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.7979, allocations: 1.256 MB / 0.9567 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.7981, allocations: 1.156 kB / 0.9567 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.7982, allocations: 8.734 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.7983, allocations: 15.2 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.7994, allocations: 217.3 kB / 0.9569 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.7998, allocations: 220.1 kB / 0.9571 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.7999, allocations: 35.34 kB / 0.9572 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.8002, allocations: 88.31 kB / 0.9573 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.8004, allocations: 86.97 kB / 0.9573 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.8005, allocations: 12.97 kB / 0.9574 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.8006, allocations: 24.06 kB / 0.9574 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.8007, allocations: 29.56 kB / 0.9574 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.8009, allocations: 104 kB / 0.9575 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.8013, allocations: 197.5 kB / 0.9577 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.8013, allocations: 0 / 0.9577 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.958e-06/0.8013, allocations: 0 / 0.9577 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.8014, allocations: 0 / 0.9577 GB, free: 5.848 MB / 0.7169 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.0009531/0.8023, allocations: 465.2 kB / 0.9581 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 9.007e-05/0.8024, allocations: 8.312 kB / 0.9582 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.8026, allocations: 24.44 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008534/0.8035, allocations: 265.1 kB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.8035, allocations: 14.34 kB / 0.9584 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.399e-05/0.8036, allocations: 16.72 kB / 0.9585 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.804, allocations: 128.4 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.804, allocations: 3.938 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.804, allocations: 1.812 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.804, allocations: 2.5 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.8042, allocations: 53.88 kB / 0.9586 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.8052, allocations: 0.6649 MB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.8053, allocations: 38.66 kB / 0.9593 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.8054, allocations: 18.06 kB / 0.9593 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.8054, allocations: 8.984 kB / 0.9594 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.8057, allocations: 95.91 kB / 0.9594 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 2.574e-06/0.8057, allocations: 1.156 kB / 0.9594 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004368/0.8061, allocations: 100.1 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.8062, allocations: 84.14 kB / 0.9596 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.8065, allocations: 172.5 kB / 0.9598 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.8066, allocations: 28.73 kB / 0.9598 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.8067, allocations: 122.7 kB / 0.9599 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.8068, allocations: 14.8 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.8069, allocations: 32.33 kB / 0.96 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.807, allocations: 319 kB / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.8072, allocations: 55.45 kB / 0.9603 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.8073, allocations: 107.2 kB / 0.9604 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.8076, allocations: 179.4 kB / 0.9606 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.8076, allocations: 0 / 0.9606 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005544/0.8082, allocations: 271.8 kB / 0.9609 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.8083, allocations: 59.66 kB / 0.9609 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.8083, allocations: 6.75 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.8084, allocations: 3 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.8084, allocations: 18.67 kB / 0.9609 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.8084, allocations: 2.75 kB / 0.9609 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.8089, allocations: 77.28 kB / 0.961 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.8089, allocations: 9.625 kB / 0.961 GB, free: 2.723 MB / 0.7169 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.000199/0.8091, allocations: 138.3 kB / 0.9612 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.8092, allocations: 17.28 kB / 0.9612 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.8093, allocations: 12.38 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8093, allocations: 0 / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.8093, allocations: 1.062 kB / 0.9612 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8093, allocations: 4.781 kB / 0.9612 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.8095, allocations: 203.9 kB / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8096, allocations: 7.875 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.8096, allocations: 2 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8096, allocations: 1 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8096, allocations: 4.922 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8096, allocations: 1.031 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8096, allocations: 0.9062 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.8098, allocations: 111.7 kB / 0.9615 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.8099, allocations: 87.92 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.8099, allocations: 4.906 kB / 0.9616 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.81, allocations: 0.9688 kB / 0.9616 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.81, allocations: 10.92 kB / 0.9616 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.8101, allocations: 3.094 kB / 0.9616 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.853e-05/0.8102, allocations: 123.2 kB / 0.9617 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8102, allocations: 1.031 kB / 0.9617 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003426/0.8105, allocations: 40.41 kB / 0.9618 GB, free: 2.012 MB / 0.7169 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.0002253/0.8108, allocations: 108 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.8112, allocations: 232.5 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8112, allocations: 1 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.8112, allocations: 21.59 kB / 0.9621 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.8115, allocations: 25.64 kB / 0.9621 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.8121, allocations: 276.1 kB / 0.9624 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.8123, allocations: 0.7164 MB / 0.9631 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.753e-05/0.8124, allocations: 12 kB / 0.9631 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.8124, allocations: 13.5 kB / 0.9631 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.8124, allocations: 0 / 0.9631 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of Templates: time 0.006259/0.8187, allocations: 1.764 MB / 0.9649 GB, free: 15.84 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches