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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001535/0.001535, allocations: 108 kB / 15.61 MB, free: 152 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.001372/0.001372, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 70.16 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3881, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002602/0.3908, allocations: 0.9991 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.393, allocations: 1.342 MB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.3931, allocations: 0 / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3933, allocations: 19.73 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3934, allocations: 39.66 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.3943, allocations: 266.2 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3948, allocations: 395.3 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.395, allocations: 77.41 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.3953, allocations: 151.5 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.3956, allocations: 147.5 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.3957, allocations: 36 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3958, allocations: 47.98 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.3959, allocations: 51.84 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.396, allocations: 139.3 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.3965, allocations: 379 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3965, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3965, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.3965, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 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.001014/0.3975, allocations: 0.6032 MB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3976, allocations: 8.031 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.3977, allocations: 28.66 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.3987, allocations: 382.7 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3987, allocations: 12.38 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3988, allocations: 20.38 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.3992, allocations: 207.3 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3993, allocations: 3.938 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3993, allocations: 4 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3993, allocations: 4 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/0.3998, allocations: 147.8 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.401, allocations: 0.9031 MB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.4013, allocations: 153 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.4016, allocations: 84.3 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4016, allocations: 4 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.4022, allocations: 171.5 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.4022, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0009246/0.4031, allocations: 265.4 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.4032, allocations: 158.2 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.4035, allocations: 221 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4035, allocations: 33.7 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4036, allocations: 152.1 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4037, allocations: 35.53 kB / 1.076 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4038, allocations: 53.69 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.404, allocations: 338.8 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.4043, allocations: 95.92 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.4047, allocations: 169.1 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.4053, allocations: 266.9 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4053, allocations: 0 / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008632/0.4061, allocations: 372.5 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.4062, allocations: 67.33 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4062, allocations: 4 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4063, allocations: 7.938 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4064, allocations: 28.19 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.4065, allocations: 7.984 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.4069, allocations: 67.83 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.4069, allocations: 15.98 kB / 1.077 GB, free: 0.9062 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.0001548/0.4071, allocations: 159.2 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4071, allocations: 15.81 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.4072, allocations: 25.23 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4072, allocations: 0 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4072, allocations: 4 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4072, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.4075, allocations: 269.3 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4075, allocations: 4 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.4077, allocations: 31.91 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4077, allocations: 0 / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4077, allocations: 4 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4077, allocations: 0 / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4077, allocations: 4 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.4083, allocations: 244.1 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.4084, allocations: 88.92 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.4084, allocations: 7.984 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4086, allocations: 19.98 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4086, allocations: 20.44 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4087, allocations: 4 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001451/0.4088, allocations: 160.4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4088, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002887/0.4091, allocations: 47.84 kB / 1.078 GB, free: 15.7 MB / 0.8419 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.0001851/0.4093, allocations: 111.8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007635/0.4101, allocations: 334.6 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4101, allocations: 7.938 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.4104, allocations: 84.39 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4107, allocations: 50.56 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.4115, allocations: 383.8 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.412, allocations: 0.7476 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.4121, allocations: 37.52 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.4122, allocations: 15.44 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4122, allocations: 3.938 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.0069/0.4191, allocations: 3.027 MB / 1.083 GB, free: 10.88 MB / 0.8419 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/jenkins/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