Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009391, allocations: 97.41 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.006367/0.006367, allocations: 170.1 kB / 16.27 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.929/2.929, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 10.97 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3675, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001602/0.3692, allocations: 0.5791 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.372, allocations: 1.338 MB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.3721, allocations: 0 / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.3722, allocations: 7.875 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3723, allocations: 23.84 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3734, allocations: 250 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.3739, allocations: 279.5 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.3742, allocations: 61.44 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.3744, allocations: 107.6 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.3747, allocations: 103.6 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.3748, allocations: 8 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3749, allocations: 31.98 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.375, allocations: 27.91 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.3753, allocations: 129.1 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.3758, allocations: 303.2 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3759, allocations: 0 / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3759, allocations: 4 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3759, allocations: 0 / 1.062 GB, free: 2.227 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008691/0.3768, allocations: 0.4981 MB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3768, allocations: 8.031 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3769, allocations: 28.66 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.378, allocations: 300 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.378, allocations: 16.38 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.3781, allocations: 16.38 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.3785, allocations: 151.1 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3785, allocations: 3.938 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.3786, allocations: 4 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3786, allocations: 7.938 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3788, allocations: 63.91 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3799, allocations: 0.7468 MB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3801, allocations: 61.17 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.3802, allocations: 33.72 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3802, allocations: 0 / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.3805, allocations: 101 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3805, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004323/0.3809, allocations: 137.3 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.381, allocations: 81.11 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.3814, allocations: 215.6 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.3814, allocations: 33.7 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3816, allocations: 135.8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3817, allocations: 19.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3818, allocations: 33.7 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.3819, allocations: 326.8 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.3822, allocations: 67.95 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.3825, allocations: 114.8 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.3828, allocations: 202.1 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3828, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007454/0.3836, allocations: 296.6 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.3837, allocations: 63.58 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3837, allocations: 4 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3837, allocations: 4 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3838, allocations: 12 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.3839, allocations: 7.938 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.3844, allocations: 75.78 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.3844, allocations: 15.98 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000211/0.3847, allocations: 146.9 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3847, allocations: 11.81 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.3848, allocations: 33.39 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3848, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3848, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3848, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3851, allocations: 237.5 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3851, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.3852, allocations: 7.938 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3852, allocations: 3.938 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3852, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3852, allocations: 3.984 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3852, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3855, allocations: 133.7 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.3856, allocations: 88.92 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.3856, allocations: 8 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.3857, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3858, allocations: 7.984 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3858, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001935/0.386, allocations: 153.5 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.386, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000493/0.3865, allocations: 47.83 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002669/0.3868, allocations: 107.2 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.3874, allocations: 250.7 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3874, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.3875, allocations: 36.3 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.388, allocations: 41.59 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.3889, allocations: 345.4 kB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.3894, allocations: 0.7283 MB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3895, allocations: 21.53 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.3896, allocations: 19.44 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3896, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.009046/0.3987, allocations: 2.294 MB / 1.07 GB, free: 9.176 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches