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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001674/0.001674, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001876/0.001876, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.27 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002321/0.3221, allocations: 1.038 MB / 1.028 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3238, allocations: 1.463 MB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.3239, allocations: 4 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.324, allocations: 23.67 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.3241, allocations: 43.62 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3251, allocations: 472 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.3256, allocations: 0.5349 MB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.3259, allocations: 139.7 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3261, allocations: 203.5 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3263, allocations: 191.4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.3264, allocations: 48 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3265, allocations: 59.98 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.3266, allocations: 71.77 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.3268, allocations: 195.2 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.3273, allocations: 0.5179 MB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3273, allocations: 0 / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3273, allocations: 3.938 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3273, allocations: 0 / 1.032 GB, free: 13.09 MB / 0.8106 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.000796/0.3281, allocations: 0.6928 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3281, allocations: 8.031 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.3282, allocations: 40.56 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/0.3291, allocations: 352.2 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.3291, allocations: 20.75 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.3292, allocations: 40.3 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.3295, allocations: 233 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3296, allocations: 3.938 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3296, allocations: 8 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3296, allocations: 4 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3298, allocations: 151 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3309, allocations: 0.7653 MB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.3312, allocations: 189.4 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3314, allocations: 208.8 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3315, allocations: 0 / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.3318, allocations: 256.5 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.3318, allocations: 0 / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006403/0.3324, allocations: 419 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3325, allocations: 114.8 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.3328, allocations: 278.5 kB / 1.035 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.3328, allocations: 45.62 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3329, allocations: 164.5 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.333, allocations: 59.28 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3332, allocations: 141.5 kB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3333, allocations: 342.8 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.3337, allocations: 196.7 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.3341, allocations: 324 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.3346, allocations: 0.5232 MB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3346, allocations: 4 kB / 1.037 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009942/0.3356, allocations: 0.7132 MB / 1.038 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.3357, allocations: 129.1 kB / 1.038 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3357, allocations: 4 kB / 1.038 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3358, allocations: 8 kB / 1.038 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.3359, allocations: 23.92 kB / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3359, allocations: 7.938 kB / 1.038 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.3365, allocations: 131.8 kB / 1.038 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/0.3366, allocations: 63.92 kB / 1.038 GB, free: 6.086 MB / 0.8106 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.0001889/0.3368, allocations: 197.6 kB / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3368, allocations: 35.56 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.3373, allocations: 349.7 kB / 1.039 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-06/0.3373, allocations: 4 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3373, allocations: 4 kB / 1.039 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3373, allocations: 0 / 1.039 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/0.3381, allocations: 0.7177 MB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3381, allocations: 0 / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.3382, allocations: 23.92 kB / 1.039 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3382, allocations: 4 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3382, allocations: 4 kB / 1.039 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3383, allocations: 7.938 kB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3383, allocations: 0 / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.3387, allocations: 420.1 kB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3388, allocations: 104.7 kB / 1.04 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3388, allocations: 4 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.339, allocations: 15.92 kB / 1.04 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.339, allocations: 23.97 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.339, allocations: 15.94 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001553/0.3392, allocations: 186 kB / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3392, allocations: 4 kB / 1.04 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003897/0.3396, allocations: 91.98 kB / 1.04 GB, free: 3.801 MB / 0.8106 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.0001674/0.3398, allocations: 121.4 kB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.3406, allocations: 0.6587 MB / 1.041 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3406, allocations: 4.062 kB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.3408, allocations: 139.9 kB / 1.041 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3412, allocations: 66.34 kB / 1.041 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007543/0.3419, allocations: 0.509 MB / 1.042 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3423, allocations: 0.761 MB / 1.042 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.3424, allocations: 70.91 kB / 1.042 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.3425, allocations: 31.44 kB / 1.042 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3425, allocations: 0 / 1.042 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of Templates: time 0.008471/0.351, allocations: 4.977 MB / 1.047 GB, free: 12.41 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches