Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 107.8 kB / 16.27 MB, free: 5.988 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.001515/0.001515, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.581/2.581, allocations: 437 MB / 0.7111 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 76.92 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3262, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002373/0.3286, allocations: 1.006 MB / 1.019 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3305, allocations: 1.328 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3306, allocations: 7.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.3307, allocations: 19.8 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.3308, allocations: 35.64 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007365/0.3316, allocations: 269.9 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.332, allocations: 399.2 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3322, allocations: 69.64 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3324, allocations: 159.6 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.3327, allocations: 143.5 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.3328, allocations: 32 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.3329, allocations: 51.92 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.333, allocations: 51.84 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3331, allocations: 139.4 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.3335, allocations: 379.1 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3335, allocations: 4 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3336, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3336, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009844/0.3346, allocations: 0.6033 MB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3346, allocations: 12.92 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.3347, allocations: 28.66 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.3356, allocations: 374.7 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3357, allocations: 16.38 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.3357, allocations: 24.31 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.3362, allocations: 211.8 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3362, allocations: 3.938 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.3362, allocations: 7.984 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3362, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.3367, allocations: 147.8 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.338, allocations: 0.9108 MB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3384, allocations: 149 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.3386, allocations: 88.17 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3387, allocations: 4 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.3391, allocations: 163.5 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3391, allocations: 4 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0008917/0.34, allocations: 253.5 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3401, allocations: 158.2 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3403, allocations: 224.9 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3404, allocations: 29.7 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3405, allocations: 160.1 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3406, allocations: 23.66 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3407, allocations: 57.62 kB / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3408, allocations: 342.8 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3412, allocations: 95.91 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3416, allocations: 159.6 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3422, allocations: 270.9 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3422, allocations: 0 / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008775/0.3431, allocations: 380.4 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.3431, allocations: 67.39 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3432, allocations: 4 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3432, allocations: 0 / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3434, allocations: 36.12 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3434, allocations: 3.938 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.3438, allocations: 67.83 kB / 1.027 GB, free: 1.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.3438, allocations: 15.98 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001592/0.344, allocations: 156.3 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.344, allocations: 19.8 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.3441, allocations: 17.25 kB / 1.027 GB, free: 0.875 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3441, allocations: 4 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3441, allocations: 4 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3441, allocations: 7.922 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3444, allocations: 253.5 kB / 1.027 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3444, allocations: 0 / 1.027 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3445, allocations: 31.97 kB / 1.027 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3446, allocations: 0 / 1.027 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3446, allocations: 8 kB / 1.027 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3446, allocations: 3.984 kB / 1.027 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3446, allocations: 4 kB / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.3452, allocations: 232 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.3452, allocations: 101.3 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3453, allocations: 4 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3454, allocations: 23.97 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.3455, allocations: 15.92 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3455, allocations: 8 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001626/0.3457, allocations: 164.4 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3457, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002998/0.346, allocations: 51.84 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0002106/0.3462, allocations: 115.2 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008183/0.347, allocations: 338.5 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3471, allocations: 0 / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.3474, allocations: 100.3 kB / 1.028 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3477, allocations: 40.41 kB / 1.028 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.3484, allocations: 413.7 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.3488, allocations: 0.7515 MB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.3489, allocations: 19.44 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3489, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.005469/0.3544, allocations: 3.023 MB / 1.033 GB, free: 11.02 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches