Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, 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.001177/0.001177, allocations: 194.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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.54/2.54, allocations: 390.2 MB / 0.6646 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002315, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8757/0.878, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002671/0.8807, allocations: 1.047 MB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.8825, allocations: 1.307 MB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.8826, allocations: 2.562 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.8827, allocations: 15.75 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.8828, allocations: 39.83 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.8835, allocations: 269.5 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.8839, allocations: 368 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.8841, allocations: 77.22 kB / 0.9526 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.8842, allocations: 133.4 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.8844, allocations: 116.6 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.8845, allocations: 36.94 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.8846, allocations: 44.23 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.8847, allocations: 44.91 kB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.8848, allocations: 124.1 kB / 0.9531 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.8852, allocations: 373.1 kB / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8852, allocations: 1.156 kB / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8852, allocations: 0 / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8852, allocations: 0 / 0.9535 GB, free: 6.18 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009175/0.8861, allocations: 0.6265 MB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8862, allocations: 9.781 kB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.8863, allocations: 26.53 kB / 0.9541 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.8866, allocations: 269.5 kB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.8866, allocations: 8.828 kB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.8866, allocations: 19.22 kB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.8872, allocations: 197.3 kB / 0.9546 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8872, allocations: 5.203 kB / 0.9546 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.8872, allocations: 9.156 kB / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8872, allocations: 3.5 kB / 0.9546 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.8878, allocations: 172.6 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.8888, allocations: 0.6302 MB / 0.9554 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.8894, allocations: 194.2 kB / 0.9556 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.8897, allocations: 144.5 kB / 0.9557 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.8897, allocations: 7.938 kB / 0.9557 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.8902, allocations: 187.7 kB / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.8903, allocations: 0 / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001319/0.8916, allocations: 467.6 kB / 0.9563 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.8917, allocations: 109.4 kB / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.8919, allocations: 216.7 kB / 0.9566 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.892, allocations: 29.77 kB / 0.9567 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.8921, allocations: 132.2 kB / 0.9568 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.8921, allocations: 54.91 kB / 0.9568 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.8923, allocations: 68.3 kB / 0.9569 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.8924, allocations: 331.9 kB / 0.9572 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.8928, allocations: 155.2 kB / 0.9574 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.8933, allocations: 203.7 kB / 0.9576 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.8941, allocations: 465.9 kB / 0.958 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8941, allocations: 0 / 0.958 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0011/0.8952, allocations: 0.5301 MB / 0.9585 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.8953, allocations: 128.9 kB / 0.9587 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8953, allocations: 2.156 kB / 0.9587 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.8953, allocations: 2.281 kB / 0.9587 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.8955, allocations: 35.52 kB / 0.9587 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.8955, allocations: 2.281 kB / 0.9587 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.896, allocations: 88.28 kB / 0.9588 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.8961, allocations: 35.42 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001717/0.8963, allocations: 205.7 kB / 0.959 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.8964, allocations: 25.56 kB / 0.959 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.8964, allocations: 17.91 kB / 0.9591 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.8964, allocations: 2.188 kB / 0.9591 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8964, allocations: 1.531 kB / 0.9591 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.8964, allocations: 3.984 kB / 0.9591 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.8974, allocations: 0.691 MB / 0.9597 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8975, allocations: 3.938 kB / 0.9597 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.8976, allocations: 38.92 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8976, allocations: 1.094 kB / 0.9598 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.8977, allocations: 7.031 kB / 0.9598 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8977, allocations: 5.094 kB / 0.9598 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8977, allocations: 4 kB / 0.9598 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.8984, allocations: 459.4 kB / 0.9602 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.8985, allocations: 95.08 kB / 0.9603 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.8985, allocations: 5.344 kB / 0.9603 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.8987, allocations: 23.91 kB / 0.9603 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.8988, allocations: 19.91 kB / 0.9604 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.8988, allocations: 28.62 kB / 0.9604 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001296/0.8989, allocations: 148.3 kB / 0.9605 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8989, allocations: 0 / 0.9605 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003247/0.8993, allocations: 56.97 kB / 0.9606 GB, free: 0.6172 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001536/0.8994, allocations: 113.4 kB / 0.9607 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009485/0.9004, allocations: 0.5793 MB / 0.9613 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9004, allocations: 0 / 0.9613 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.9009, allocations: 249.6 kB / 0.9615 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.9013, allocations: 53.16 kB / 0.9616 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.9023, allocations: 430.6 kB / 0.962 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.9027, allocations: 0.7319 MB / 0.9627 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.9028, allocations: 49.81 kB / 0.9627 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.9029, allocations: 17.91 kB / 0.9627 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.9029, allocations: 0 / 0.9627 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.009187/0.9121, allocations: 3.723 MB / 0.9664 GB, free: 13 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches