Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.0009619/0.0009619, allocations: 98.03 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.005811/0.005811, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005624/0.0005624, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8189/0.8195, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001108/0.8206, allocations: 443.9 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.8227, allocations: 1.249 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.8227, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.8228, allocations: 3.938 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.8229, allocations: 15.91 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.8237, allocations: 218.9 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.824, allocations: 215.6 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.8241, allocations: 39.95 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.8243, allocations: 91.75 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.8245, allocations: 91.75 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.8246, allocations: 8 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.827e-05/0.8247, allocations: 19.98 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.8247, allocations: 31.92 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.8249, allocations: 101.3 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.8252, allocations: 201.3 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8252, allocations: 3.938 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8252, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8252, allocations: 4 kB / 1.026 GB, free: 13.11 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006964/0.8259, allocations: 458.4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.826, allocations: 8.031 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.8261, allocations: 24.69 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.8268, allocations: 273.6 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.8268, allocations: 12.38 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.8269, allocations: 12.38 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.8271, allocations: 135.1 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.8272, allocations: 3.938 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.8272, allocations: 11.98 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.8272, allocations: 0 / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.8273, allocations: 51.91 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.8282, allocations: 0.6571 MB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.8282, allocations: 41.09 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.8283, allocations: 25.83 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.8283, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.8285, allocations: 96.97 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.8285, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002742/0.8288, allocations: 101.4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.8288, allocations: 85.09 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.829, allocations: 173.6 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.8291, allocations: 33.7 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.8292, allocations: 123.9 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.8292, allocations: 7.812 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.8293, allocations: 33.7 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8294, allocations: 322.8 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.8296, allocations: 51.97 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.8297, allocations: 106.8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.83, allocations: 174.1 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.83, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004011/0.8304, allocations: 268.7 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/0.8305, allocations: 67.39 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.8305, allocations: 0 / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.8306, allocations: 4.375 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-05/0.8306, allocations: 4 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.8306, allocations: 12.19 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.831, allocations: 75.78 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.831, allocations: 23.92 kB / 1.029 GB, free: 9.324 MB / 0.7794 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.0002068/0.8312, allocations: 134.5 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.8312, allocations: 15.78 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.8313, allocations: 12.23 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8313, allocations: 0 / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.8313, allocations: 0 / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.8313, allocations: 3.984 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.8315, allocations: 209.6 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8315, allocations: 7.938 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-06/0.8316, allocations: 3.984 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8316, allocations: 4 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.8316, allocations: 0 / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8316, allocations: 0 / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8316, allocations: 0 / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.8318, allocations: 121.8 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.8318, allocations: 92.86 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.8318, allocations: 0 / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.8319, allocations: 0 / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.8319, allocations: 7.984 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.8319, allocations: 4 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.832, allocations: 117.7 kB / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.832, allocations: 0 / 1.03 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002588/0.8323, allocations: 39.94 kB / 1.03 GB, free: 8.465 MB / 0.7794 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.0001706/0.8325, allocations: 111.2 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.8328, allocations: 234.6 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8328, allocations: 0 / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.8329, allocations: 20 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.8332, allocations: 26.47 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.8338, allocations: 284.7 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.8344, allocations: 0.716 MB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.8345, allocations: 12.88 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.8345, allocations: 11.44 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8345, allocations: 0 / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of Templates: time 0.00547/0.84, allocations: 1.763 MB / 1.033 GB, free: 5.234 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches