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.00795/0.00795, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001731/0.001732, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4153, allocations: 159.9 MB / 1.226 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003475/0.4188, allocations: 1.007 MB / 1.227 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.4216, allocations: 1.33 MB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.4217, allocations: 0 / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.4219, allocations: 19.73 kB / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.4221, allocations: 47.64 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.4232, allocations: 278.6 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.4239, allocations: 395.3 kB / 1.229 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.4242, allocations: 77.48 kB / 1.229 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.4245, allocations: 155.6 kB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.4248, allocations: 127.5 kB / 1.229 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.4249, allocations: 36 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.425, allocations: 63.92 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.4252, allocations: 59.81 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.4254, allocations: 135.4 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.426, allocations: 406.5 kB / 1.23 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.426, allocations: 0 / 1.23 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.426, allocations: 0 / 1.23 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.426, allocations: 0 / 1.23 GB, free: 5.113 MB / 0.9825 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.001212/0.4272, allocations: 0.6264 MB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4273, allocations: 8.031 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4274, allocations: 32.8 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4285, allocations: 378.9 kB / 1.231 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.4286, allocations: 16.38 kB / 1.231 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.4287, allocations: 20.38 kB / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.4292, allocations: 206.3 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4293, allocations: 7.938 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.4293, allocations: 4 kB / 1.231 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4293, allocations: 4 kB / 1.231 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.4299, allocations: 139.8 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.4314, allocations: 0.9071 MB / 1.232 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.4318, allocations: 156.9 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.4322, allocations: 80.31 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4322, allocations: 0 / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.4328, allocations: 179.5 kB / 1.232 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.4328, allocations: 4 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001145/0.4339, allocations: 249.3 kB / 1.233 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.434, allocations: 162.6 kB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.4343, allocations: 229 kB / 1.233 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.4344, allocations: 29.7 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.4346, allocations: 156.3 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.4346, allocations: 31.73 kB / 1.233 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.4348, allocations: 57.69 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.435, allocations: 334.8 kB / 1.233 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.4354, allocations: 103.8 kB / 1.234 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.4359, allocations: 177.3 kB / 1.234 GB, free: 492 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.4367, allocations: 274.9 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4368, allocations: 3.938 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001162/0.4379, allocations: 372.6 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.438, allocations: 65.42 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.438, allocations: 4 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4381, allocations: 0 / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.4383, allocations: 27.97 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.4383, allocations: 12.16 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.439, allocations: 84.33 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.439, allocations: 15.98 kB / 1.235 GB, free: 15.57 MB / 0.9981 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.0002037/0.4392, allocations: 150.3 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.4393, allocations: 27.8 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.4394, allocations: 25.23 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4394, allocations: 7.984 kB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4394, allocations: 0 / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4394, allocations: 0 / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.4398, allocations: 257.4 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4398, allocations: 4 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.4399, allocations: 27.91 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.44, allocations: 8 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.44, allocations: 11.98 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.44, allocations: 4 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.44, allocations: 0 / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.4407, allocations: 236.2 kB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.4408, allocations: 97 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4408, allocations: 4 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.441, allocations: 15.97 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.441, allocations: 19.98 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.441, allocations: 7.938 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000141/0.4412, allocations: 168.4 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4412, allocations: 0 / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003053/0.4415, allocations: 51.89 kB / 1.236 GB, free: 14.36 MB / 0.9981 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.0002031/0.4417, allocations: 111.3 kB / 1.236 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.4425, allocations: 338.5 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4425, allocations: 0 / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.4428, allocations: 88.36 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.4431, allocations: 44.33 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.4439, allocations: 395.4 kB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4443, allocations: 0.7398 MB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000113/0.4444, allocations: 37.52 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.4445, allocations: 23.44 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.4445, allocations: 0 / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.008181/0.4527, allocations: 3.19 MB / 1.24 GB, free: 9.352 MB / 0.9981 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