Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001698/0.001698, allocations: 107.7 kB / 16.36 MB, free: 5.824 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.002103/0.002103, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 80.89 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.325, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002026/0.3271, allocations: 0.7189 MB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3288, allocations: 1.237 MB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.3289, allocations: 7.938 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.329, allocations: 11.86 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.3291, allocations: 19.84 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000821/0.3299, allocations: 239.3 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.3303, allocations: 251.6 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3304, allocations: 39.97 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3306, allocations: 107.8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3308, allocations: 75.77 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.3308, allocations: 20 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.331, allocations: 43.97 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.331, allocations: 31.92 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3312, allocations: 87.62 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.3315, allocations: 243.2 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3315, allocations: 0 / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.5e-06/0.3315, allocations: 3.984 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3315, allocations: 4 kB / 1.03 GB, free: 14.92 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006493/0.3322, allocations: 0.4918 MB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3322, allocations: 8.031 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.3323, allocations: 24.73 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.3329, allocations: 256.2 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.333, allocations: 12.38 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.333, allocations: 16.38 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.3332, allocations: 133.6 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3332, allocations: 3.938 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3333, allocations: 7.938 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3333, allocations: 4 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.3334, allocations: 43.97 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.334, allocations: 0.6727 MB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.3341, allocations: 41.16 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.3341, allocations: 17.72 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.3341, allocations: 4 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.3343, allocations: 93.02 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3343, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002379/0.3346, allocations: 101.4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.3346, allocations: 89.11 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3348, allocations: 176 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.3348, allocations: 29.7 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.3349, allocations: 123.9 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.335, allocations: 7.812 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3351, allocations: 65.67 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3352, allocations: 322.8 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3353, allocations: 51.97 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3355, allocations: 123.5 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3357, allocations: 178.5 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3357, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004251/0.3361, allocations: 272.6 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.3362, allocations: 63.41 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3362, allocations: 8.25 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3362, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.3363, allocations: 7.984 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3363, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3367, allocations: 67.83 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.3367, allocations: 11.98 kB / 1.033 GB, free: 11.06 MB / 0.8106 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.0001226/0.3369, allocations: 157.6 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.3369, allocations: 11.84 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.3369, allocations: 8.25 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3369, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3369, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.337, allocations: 3.938 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3371, allocations: 209.6 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3371, allocations: 3.938 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.3371, allocations: 4 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3371, allocations: 11.98 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3372, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3372, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3372, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3373, allocations: 117.8 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.3374, allocations: 92.95 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3374, allocations: 3.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.3374, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3375, allocations: 11.98 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3375, allocations: 4 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.3376, allocations: 118.3 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3376, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002721/0.3378, allocations: 36 kB / 1.034 GB, free: 10.18 MB / 0.8106 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.0001708/0.338, allocations: 115.1 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.3384, allocations: 242.8 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3384, allocations: 0 / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.3384, allocations: 16 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3387, allocations: 21.64 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.3391, allocations: 248.3 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3394, allocations: 0.7122 MB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.3394, allocations: 12.88 kB / 1.035 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3395, allocations: 11.44 kB / 1.035 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3395, allocations: 0 / 1.035 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.005431/0.3449, allocations: 2.01 MB / 1.037 GB, free: 6.734 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches