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.007349/0.007354, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001759/0.001759, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.7 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002337/1.114, allocations: 1.01 MB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001998/1.116, allocations: 1.331 MB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/1.117, allocations: 4 kB / 1.228 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/1.117, allocations: 15.75 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/1.117, allocations: 39.64 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/1.118, allocations: 283.4 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005034/1.118, allocations: 399.2 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/1.118, allocations: 81.48 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/1.119, allocations: 151.6 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/1.119, allocations: 131.5 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/1.119, allocations: 32 kB / 1.229 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/1.119, allocations: 55.98 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/1.119, allocations: 59.83 kB / 1.229 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/1.12, allocations: 143.3 kB / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004997/1.12, allocations: 403.1 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.12, allocations: 0 / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/1.12, allocations: 4 kB / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.12, allocations: 0 / 1.23 GB, free: 9.383 MB / 0.9512 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.001046/1.121, allocations: 0.6211 MB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.121, allocations: 8.031 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/1.121, allocations: 32.8 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/1.122, allocations: 382.8 kB / 1.231 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/1.122, allocations: 12.38 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/1.122, allocations: 20.38 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/1.123, allocations: 198.4 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.123, allocations: 7.875 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/1.123, allocations: 15.92 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.123, allocations: 4 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/1.123, allocations: 143.8 kB / 1.231 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.124, allocations: 0.9032 MB / 1.232 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/1.125, allocations: 153 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/1.125, allocations: 80.3 kB / 1.232 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/1.125, allocations: 4 kB / 1.232 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/1.126, allocations: 175.5 kB / 1.232 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/1.126, allocations: 0 / 1.232 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0008651/1.126, allocations: 253.4 kB / 1.233 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/1.127, allocations: 162.2 kB / 1.233 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/1.127, allocations: 225 kB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/1.127, allocations: 33.98 kB / 1.233 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.127, allocations: 160.3 kB / 1.233 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/1.127, allocations: 31.88 kB / 1.233 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/1.127, allocations: 57.67 kB / 1.233 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.127, allocations: 334.8 kB / 1.234 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/1.128, allocations: 99.91 kB / 1.234 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/1.128, allocations: 174.5 kB / 1.234 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/1.129, allocations: 278.9 kB / 1.234 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.129, allocations: 0 / 1.234 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008634/1.129, allocations: 368.8 kB / 1.234 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/1.13, allocations: 63.41 kB / 1.234 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.13, allocations: 3.984 kB / 1.234 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.13, allocations: 4 kB / 1.234 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.13, allocations: 23.92 kB / 1.234 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.13, allocations: 7.984 kB / 1.234 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/1.13, allocations: 95.86 kB / 1.235 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/1.13, allocations: 11.98 kB / 1.235 GB, free: 3.852 MB / 0.9512 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.0001604/1.13, allocations: 154.2 kB / 1.235 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/1.13, allocations: 19.86 kB / 1.235 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/1.131, allocations: 25.23 kB / 1.235 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.131, allocations: 4.469 kB / 1.235 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.131, allocations: 8 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.131, allocations: 0 / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/1.131, allocations: 261.4 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.131, allocations: 0 / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/1.131, allocations: 27.97 kB / 1.235 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.131, allocations: 3.984 kB / 1.235 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/1.131, allocations: 8 kB / 1.235 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.131, allocations: 0 / 1.235 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.131, allocations: 15.88 kB / 1.235 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/1.132, allocations: 236.2 kB / 1.235 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/1.132, allocations: 97.02 kB / 1.235 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.132, allocations: 3.984 kB / 1.235 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.132, allocations: 15.98 kB / 1.235 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/1.132, allocations: 19.91 kB / 1.235 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/1.132, allocations: 8 kB / 1.235 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001353/1.132, allocations: 168.4 kB / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.132, allocations: 0 / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003153/1.132, allocations: 55.89 kB / 1.236 GB, free: 2.629 MB / 0.9512 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.0001601/1.133, allocations: 99.25 kB / 1.236 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007853/1.133, allocations: 342.5 kB / 1.236 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.133, allocations: 0 / 1.236 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/1.134, allocations: 79.88 kB / 1.236 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/1.134, allocations: 50.94 kB / 1.236 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/1.135, allocations: 387.2 kB / 1.237 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/1.135, allocations: 0.7437 MB / 1.237 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001264/1.135, allocations: 41.52 kB / 1.237 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/1.135, allocations: 23.44 kB / 1.237 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.135, allocations: 0 / 1.237 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of Templates: time 0.007494/1.143, allocations: 3.197 MB / 1.24 GB, free: 13.63 MB / 0.9669 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