Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01199/0.01199, allocations: 172.4 kB / 16.26 MB, free: 6.676 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.891/2.891, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003881, allocations: 7.844 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.373, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001778/0.3749, allocations: 1.024 MB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3772, allocations: 1.622 MB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3774, allocations: 4 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3775, allocations: 15.8 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3777, allocations: 55.56 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3788, allocations: 468 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000559/0.3793, allocations: 0.5661 MB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.3797, allocations: 153.1 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.38, allocations: 191.4 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3802, allocations: 175.2 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.3803, allocations: 20 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3804, allocations: 35.98 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.3805, allocations: 55.72 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.3808, allocations: 224.7 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.3815, allocations: 0.6228 MB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3815, allocations: 0 / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3815, allocations: 4 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3815, allocations: 0 / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001285/0.3828, allocations: 0.8494 MB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.3828, allocations: 12.03 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.383, allocations: 56.45 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3844, allocations: 497.6 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.3844, allocations: 28.92 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.3845, allocations: 40.38 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.3852, allocations: 333.3 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3853, allocations: 3.938 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.3853, allocations: 11.98 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3853, allocations: 12 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.386, allocations: 282 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.3876, allocations: 0.9354 MB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3883, allocations: 391.2 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.3889, allocations: 302.2 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3889, allocations: 4 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.3895, allocations: 338.9 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.3895, allocations: 0 / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001672/0.3912, allocations: 0.8684 MB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3913, allocations: 191.9 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.3916, allocations: 284.5 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.3917, allocations: 45.7 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3919, allocations: 168.8 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.392, allocations: 134.2 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.3921, allocations: 57.69 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3922, allocations: 350.7 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.3929, allocations: 288.8 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.3936, allocations: 381.8 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.3949, allocations: 0.9246 MB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3949, allocations: 7.938 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001712/0.3966, allocations: 1.017 MB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.3968, allocations: 259.3 kB / 1.073 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3968, allocations: 0 / 1.073 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3968, allocations: 4 kB / 1.073 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3971, allocations: 83.86 kB / 1.073 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3971, allocations: 4 kB / 1.073 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.3979, allocations: 187.4 kB / 1.073 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.3981, allocations: 75.86 kB / 1.073 GB, free: 6.289 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003085/0.3984, allocations: 322.1 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.3984, allocations: 39.62 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.407e-05/0.3985, allocations: 39.48 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3985, allocations: 4 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3986, allocations: 4 kB / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3986, allocations: 0 / 1.073 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4004, allocations: 1.223 MB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4004, allocations: 0 / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.4007, allocations: 67.89 kB / 1.075 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4007, allocations: 4 kB / 1.075 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4007, allocations: 19.98 kB / 1.075 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4007, allocations: 4 kB / 1.075 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4008, allocations: 7.922 kB / 1.075 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4019, allocations: 0.7809 MB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.4021, allocations: 116.5 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.4021, allocations: 8 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.4023, allocations: 39.97 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.4024, allocations: 43.83 kB / 1.076 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.4025, allocations: 51.88 kB / 1.076 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001958/0.4027, allocations: 199.1 kB / 1.076 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4027, allocations: 0 / 1.076 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004828/0.4032, allocations: 111.8 kB / 1.076 GB, free: 3.031 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: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.000202/0.4034, allocations: 123.2 kB / 1.076 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.4051, allocations: 1.129 MB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4051, allocations: 0 / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.4059, allocations: 0.5324 MB / 1.078 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.4065, allocations: 84.55 kB / 1.078 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.408, allocations: 0.9163 MB / 1.079 GB, free: 44 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.4085, allocations: 0.7966 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.4088, allocations: 91.2 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.4088, allocations: 35.42 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4088, allocations: 4 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.01217/0.421, allocations: 6.086 MB / 1.085 GB, free: 9.098 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches