Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_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.01093/0.01093, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002301/0.0023, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.91 kB / 0.9509 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002737/1.068, allocations: 1.059 MB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002114/1.071, allocations: 1.306 MB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/1.071, allocations: 2.312 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/1.071, allocations: 17.77 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/1.071, allocations: 47.31 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008859/1.072, allocations: 271.6 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005455/1.072, allocations: 367 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/1.073, allocations: 74.06 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/1.073, allocations: 132.3 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/1.073, allocations: 131.9 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.854e-05/1.073, allocations: 37.16 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/1.073, allocations: 51.08 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-05/1.073, allocations: 41.44 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/1.074, allocations: 131.5 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006458/1.074, allocations: 362.3 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.074, allocations: 0 / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.074, allocations: 1.125 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.074, allocations: 0 / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009685/1.075, allocations: 0.6413 MB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.075, allocations: 13.12 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/1.075, allocations: 29.36 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/1.076, allocations: 255 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/1.076, allocations: 14.5 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/1.076, allocations: 19.56 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/1.076, allocations: 199.5 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.076, allocations: 0 / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/1.077, allocations: 7.188 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.077, allocations: 2.25 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/1.077, allocations: 164.2 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.079, allocations: 0.6301 MB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/1.079, allocations: 192.4 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/1.08, allocations: 136.7 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.08, allocations: 1.688 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/1.08, allocations: 194.9 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/1.08, allocations: 0.6562 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001425/1.082, allocations: 474.6 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.082, allocations: 106.9 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/1.082, allocations: 208.9 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/1.082, allocations: 34.83 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.082, allocations: 133.4 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/1.082, allocations: 52.02 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.083, allocations: 66.11 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.083, allocations: 330.8 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/1.083, allocations: 159.6 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/1.084, allocations: 196.9 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/1.085, allocations: 468 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.085, allocations: 0.7188 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001288/1.086, allocations: 0.5313 MB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.086, allocations: 130.5 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.086, allocations: 1.578 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/1.086, allocations: 1.875 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/1.086, allocations: 38.36 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.086, allocations: 6.188 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/1.087, allocations: 82.86 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.087, allocations: 38.2 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000248/1.087, allocations: 202.2 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/1.087, allocations: 25.44 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/1.087, allocations: 21.22 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.087, allocations: 2.656 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.087, allocations: 4.562 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.087, allocations: 0.6094 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.089, allocations: 0.6838 MB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.089, allocations: 5.031 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.089, allocations: 39.02 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.089, allocations: 1.812 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/1.089, allocations: 7.469 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.089, allocations: 1.062 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.089, allocations: 1.188 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/1.09, allocations: 466.1 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/1.09, allocations: 100.2 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/1.09, allocations: 6.766 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.09, allocations: 19.44 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/1.09, allocations: 18.59 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/1.091, allocations: 24.69 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002154/1.091, allocations: 157 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/1.091, allocations: 0 / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004171/1.091, allocations: 54.58 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0002279/1.091, allocations: 110.5 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.093, allocations: 0.5693 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.093, allocations: 0 / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/1.093, allocations: 251.3 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/1.093, allocations: 53.38 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/1.095, allocations: 437.9 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/1.095, allocations: 0.7339 MB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001492/1.095, allocations: 42.42 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/1.095, allocations: 18.64 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of SimCode: time 1.883e-06/1.095, allocations: 3.938 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.01285/1.108, allocations: 3.751 MB / 1.105 GB, free: 12.55 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches