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.00128/0.00128, allocations: 105.7 kB / 15.98 MB, free: 6.359 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.00135/0.00135, allocations: 195.7 kB / 16.91 MB, free: 6.191 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.217/2.217, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.31 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3376, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00248/0.3401, allocations: 1.023 MB / 0.9508 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.3422, allocations: 1.28 MB / 0.952 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3423, allocations: 3.938 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.3425, allocations: 7.922 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3427, allocations: 31.72 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.3436, allocations: 242.5 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.344, allocations: 343.3 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3442, allocations: 53.47 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3445, allocations: 119.7 kB / 0.9528 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3446, allocations: 115.5 kB / 0.9529 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.3447, allocations: 32 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3449, allocations: 40 kB / 0.953 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.345, allocations: 43.84 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3452, allocations: 115.5 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.3455, allocations: 251.7 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3455, allocations: 8 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3455, allocations: 0 / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3455, allocations: 0 / 0.9534 GB, free: 5.562 MB / 0.7325 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.001069/0.3466, allocations: 0.5604 MB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3467, allocations: 15.97 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3468, allocations: 28.64 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3472, allocations: 259.5 kB / 0.9542 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3472, allocations: 8.375 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.3472, allocations: 20.36 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.3477, allocations: 180.6 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3477, allocations: 192 / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.3478, allocations: 3.938 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3478, allocations: 4 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3483, allocations: 135.8 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3497, allocations: 0.8759 MB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.35, allocations: 161 kB / 0.9556 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3503, allocations: 100.3 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3504, allocations: 3.938 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.3508, allocations: 179.5 kB / 0.9558 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.535e-06/0.3508, allocations: 0 / 0.9558 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001075/0.3519, allocations: 285.6 kB / 0.9561 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3521, allocations: 162.2 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.3524, allocations: 203.3 kB / 0.9565 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.3524, allocations: 33.7 kB / 0.9565 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3526, allocations: 144.1 kB / 0.9566 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.3526, allocations: 27.56 kB / 0.9567 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3528, allocations: 57.67 kB / 0.9567 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3529, allocations: 326.8 kB / 0.957 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.3533, allocations: 119.8 kB / 0.9571 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.3538, allocations: 175.6 kB / 0.9573 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.3545, allocations: 294.9 kB / 0.9576 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3545, allocations: 0 / 0.9576 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001048/0.3555, allocations: 412.8 kB / 0.958 GB, free: 428 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.944e-05/0.3556, allocations: 71.39 kB / 0.958 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3556, allocations: 4 kB / 0.958 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3557, allocations: 3.984 kB / 0.9581 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.3559, allocations: 31.91 kB / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3559, allocations: 7.938 kB / 0.9581 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005219/0.3564, allocations: 79.86 kB / 0.9582 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.3565, allocations: 12 kB / 0.9582 GB, free: 204 kB / 0.7325 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.0001865/0.3567, allocations: 143.7 kB / 0.9583 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3567, allocations: 15.81 kB / 0.9583 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.3568, allocations: 24.92 kB / 0.9584 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3568, allocations: 7.938 kB / 0.9584 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.3568, allocations: 8.047 kB / 0.9584 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3568, allocations: 0 / 0.9584 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3572, allocations: 241.5 kB / 0.9586 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3572, allocations: 0 / 0.9586 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3573, allocations: 31.91 kB / 0.9586 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3573, allocations: 0 / 0.9586 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3574, allocations: 11.98 kB / 0.9586 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3574, allocations: 3.938 kB / 0.9586 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3574, allocations: 4 kB / 0.9586 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.3581, allocations: 252.1 kB / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3581, allocations: 100.9 kB / 0.959 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3582, allocations: 0 / 0.959 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3583, allocations: 23.91 kB / 0.959 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.3584, allocations: 15.98 kB / 0.959 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3584, allocations: 4 kB / 0.959 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001313/0.3585, allocations: 148.6 kB / 0.9592 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3586, allocations: 4 kB / 0.9592 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003451/0.3589, allocations: 47.84 kB / 0.9592 GB, free: 15.03 MB / 0.7481 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.0001877/0.3591, allocations: 111.2 kB / 0.9593 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000874/0.36, allocations: 374.6 kB / 0.9597 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.36, allocations: 4 kB / 0.9597 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.3604, allocations: 103.9 kB / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3608, allocations: 51.55 kB / 0.9598 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.3615, allocations: 396.8 kB / 0.9602 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.362, allocations: 0.7317 MB / 0.9609 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3621, allocations: 15.44 kB / 0.9609 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.813e-06/0.3621, allocations: 0 / 0.9609 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.005908/0.368, allocations: 2.724 MB / 0.9636 GB, free: 10.46 MB / 0.7481 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/jenkins1/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