Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001096/0.001096, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 173.9 kB / 16.92 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.838/2.838, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8.344 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001317/0.3299, allocations: 0.7167 MB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.332, allocations: 1.357 MB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3321, allocations: 4 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3323, allocations: 11.88 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3324, allocations: 39.7 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.3332, allocations: 246.1 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.3336, allocations: 343.2 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3338, allocations: 57.61 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3341, allocations: 135.5 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.3344, allocations: 127.5 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.3344, allocations: 12 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.3345, allocations: 27.98 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.3346, allocations: 47.77 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.3348, allocations: 133.1 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.3351, allocations: 283.5 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3351, allocations: 4 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3351, allocations: 0 / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3351, allocations: 0 / 1.063 GB, free: 1.43 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009965/0.3361, allocations: 0.5605 MB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3362, allocations: 15.97 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3363, allocations: 40.58 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3374, allocations: 394.8 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.3374, allocations: 16.38 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.3375, allocations: 16.38 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.338, allocations: 218.3 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.338, allocations: 3.938 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.3381, allocations: 8 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3381, allocations: 8 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.3386, allocations: 163.9 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.3399, allocations: 0.9187 MB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.3403, allocations: 173 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3406, allocations: 88.3 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3406, allocations: 8 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.3411, allocations: 175.5 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.3411, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009864/0.3421, allocations: 297.3 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.3422, allocations: 166.1 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3424, allocations: 225.2 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.3425, allocations: 33.7 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3426, allocations: 152.1 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3426, allocations: 23.66 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.3427, allocations: 29.7 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3429, allocations: 334.8 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.3432, allocations: 111.9 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.3436, allocations: 180.6 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.3443, allocations: 298.9 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3443, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009447/0.3452, allocations: 404.6 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.3453, allocations: 63.39 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3453, allocations: 4 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3453, allocations: 0 / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3455, allocations: 36.06 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3456, allocations: 7.938 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.346, allocations: 95.83 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.3461, allocations: 15.98 kB / 1.068 GB, free: 11.77 MB / 0.8262 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.0001683/0.3462, allocations: 145.8 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3463, allocations: 19.81 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.3463, allocations: 25.23 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3464, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3464, allocations: 4 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3464, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3466, allocations: 261.4 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3467, allocations: 4 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3468, allocations: 35.91 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3468, allocations: 4.469 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3469, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3469, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.3469, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.3476, allocations: 276 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3476, allocations: 92.92 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3477, allocations: 11.98 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3479, allocations: 23.98 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.3479, allocations: 15.97 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3479, allocations: 4 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001737/0.3481, allocations: 168.4 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3481, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003655/0.3485, allocations: 51.84 kB / 1.069 GB, free: 10.54 MB / 0.8262 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.0001859/0.3487, allocations: 107.2 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008408/0.3496, allocations: 362.6 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3496, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.3499, allocations: 100.3 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3503, allocations: 56.27 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/0.3511, allocations: 496.4 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3515, allocations: 0.7479 MB / 1.071 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.3515, allocations: 15.44 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3515, allocations: 4 kB / 1.071 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of Templates: time 0.005963/0.3575, allocations: 2.996 MB / 1.074 GB, free: 5.602 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches