Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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.",fileNamePrefix="Buildings_9_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.",fileNamePrefix="Buildings_9_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.008347/0.008347, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001833/0.001833, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.63/2.63, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.59 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002348/0.369, allocations: 0.9781 MB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.371, allocations: 1.289 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3711, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3713, allocations: 11.81 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.3715, allocations: 35.66 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.3723, allocations: 256.9 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.3728, allocations: 343.3 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.373, allocations: 61.44 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.3732, allocations: 119.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.3734, allocations: 127.5 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.3735, allocations: 28 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3736, allocations: 47.98 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.3737, allocations: 35.86 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3739, allocations: 111.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3742, allocations: 342.9 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3743, allocations: 4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3743, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.3743, allocations: 4 kB / 1.092 GB, free: 13.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001135/0.3754, allocations: 0.5642 MB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.3755, allocations: 12.03 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3756, allocations: 20.75 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.3759, allocations: 255.8 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.376, allocations: 8.375 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.376, allocations: 20.38 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3764, allocations: 168.5 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3765, allocations: 4.125 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3765, allocations: 7.938 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3765, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.3769, allocations: 135.8 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.378, allocations: 0.8681 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.3783, allocations: 168.9 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3785, allocations: 92.3 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3786, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.379, allocations: 183.5 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.379, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0008621/0.3799, allocations: 285.7 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.38, allocations: 166.1 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3802, allocations: 210.8 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.3802, allocations: 29.7 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.3803, allocations: 132.5 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3803, allocations: 31.61 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3804, allocations: 53.69 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3806, allocations: 326.8 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.3809, allocations: 119.9 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.3813, allocations: 183.6 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.3818, allocations: 290.9 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3818, allocations: 0 / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000852/0.3827, allocations: 404.7 kB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.3828, allocations: 79.39 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3828, allocations: 0 / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3828, allocations: 4.094 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.383, allocations: 31.91 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.383, allocations: 4 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.3834, allocations: 83.73 kB / 1.096 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.3834, allocations: 15.98 kB / 1.096 GB, free: 8.383 MB / 0.8575 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.0001459/0.3836, allocations: 139.3 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3836, allocations: 19.8 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.3837, allocations: 16.94 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3837, allocations: 7.938 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3837, allocations: 3.938 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3837, allocations: 4 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3839, allocations: 249.5 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3839, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3841, allocations: 27.97 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3841, allocations: 4 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3841, allocations: 4 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3841, allocations: 11.88 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3841, allocations: 0 / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.3847, allocations: 256.2 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.3847, allocations: 92.92 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.3848, allocations: 8 kB / 1.097 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3849, allocations: 27.84 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.385, allocations: 11.98 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.385, allocations: 4 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001239/0.3851, allocations: 152.4 kB / 1.097 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3851, allocations: 4 kB / 1.097 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002984/0.3854, allocations: 51.84 kB / 1.097 GB, free: 7.203 MB / 0.8575 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.0001863/0.3856, allocations: 107.2 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007805/0.3864, allocations: 378.8 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3864, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.3867, allocations: 91.86 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3871, allocations: 44.06 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.3878, allocations: 317.2 kB / 1.098 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.3882, allocations: 0.7317 MB / 1.099 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.3883, allocations: 25.41 kB / 1.099 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.3884, allocations: 19.44 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3884, allocations: 0 / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of Templates: time 0.008438/0.3968, allocations: 3.31 MB / 1.102 GB, free: 2.145 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches