Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00142/0.00142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.994/2.994, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.000468, allocations: 11.38 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3717, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001628/0.3734, allocations: 0.8092 MB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.3759, allocations: 1.478 MB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.3762, allocations: 7.938 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3764, allocations: 19.8 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.3766, allocations: 55.56 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3779, allocations: 411.6 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.3786, allocations: 479.6 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3789, allocations: 118.9 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.3793, allocations: 175.4 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.3796, allocations: 139.4 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3797, allocations: 20 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3799, allocations: 35.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.38, allocations: 55.7 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3801, allocations: 85.56 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.3806, allocations: 459.1 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3807, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3807, allocations: 3.938 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.3807, allocations: 0 / 1.062 GB, free: 0.9844 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001012/0.3817, allocations: 0.6536 MB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3818, allocations: 8.031 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.382, allocations: 55.52 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3831, allocations: 408.6 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.3832, allocations: 28.39 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3833, allocations: 39.98 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.3838, allocations: 251.2 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3838, allocations: 3.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3838, allocations: 12 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3838, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.3841, allocations: 153.7 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3856, allocations: 0.853 MB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.3859, allocations: 220.4 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.3862, allocations: 200.8 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3862, allocations: 11.95 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.3866, allocations: 248.5 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.3866, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0007535/0.3873, allocations: 426.9 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.3874, allocations: 110.8 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.3878, allocations: 320.3 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.3879, allocations: 49.7 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.388, allocations: 172.5 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.3881, allocations: 67.19 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3881, allocations: 12 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3883, allocations: 350.7 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3887, allocations: 204.7 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.3891, allocations: 317 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.3896, allocations: 343.9 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3896, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001151/0.3908, allocations: 0.7364 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.3909, allocations: 126.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3909, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3909, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3912, allocations: 59.91 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3912, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.3919, allocations: 167.8 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.392, allocations: 67.86 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.3922, allocations: 197.7 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.3923, allocations: 35.58 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.3929, allocations: 361.9 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3929, allocations: 4 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3929, allocations: 3.938 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3929, allocations: 3.984 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.3939, allocations: 0.7599 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3939, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.3942, allocations: 35.92 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3942, allocations: 0 / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3942, allocations: 15.92 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3942, allocations: 4 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3943, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.3948, allocations: 427 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.3949, allocations: 116.6 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.3949, allocations: 4 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.395, allocations: 11.98 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3951, allocations: 23.97 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.3951, allocations: 12 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003341/0.3955, allocations: 207.1 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3955, allocations: 4 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004514/0.3959, allocations: 91.92 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002194/0.3962, allocations: 129.4 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009296/0.3971, allocations: 0.6736 MB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3971, allocations: 0.8125 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3973, allocations: 147.8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3978, allocations: 75.7 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3989, allocations: 0.623 MB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.3993, allocations: 0.7849 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000189/0.3995, allocations: 75.17 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.3996, allocations: 35.42 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3996, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Templates: time 0.01121/0.4108, allocations: 5.038 MB / 1.078 GB, free: 15.98 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches