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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001425/0.001425, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001434/0.001434, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.09 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2974, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00269/0.3002, allocations: 1.048 MB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3022, allocations: 1.3 MB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3023, allocations: 4 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3025, allocations: 19.8 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3026, allocations: 39.58 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.3035, allocations: 279.1 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.3041, allocations: 363.3 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.3043, allocations: 74.66 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.3046, allocations: 143.6 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.3048, allocations: 127.5 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.3049, allocations: 32 kB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.305, allocations: 47.97 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.3051, allocations: 43.8 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3053, allocations: 131.5 kB / 0.9547 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.3058, allocations: 374.7 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3058, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3058, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3059, allocations: 0 / 0.955 GB, free: 4.016 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00117/0.307, allocations: 0.6342 MB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.3071, allocations: 12.03 kB / 0.9557 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.3072, allocations: 24.75 kB / 0.9557 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3076, allocations: 264.8 kB / 0.9559 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.3076, allocations: 12.61 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.3077, allocations: 20.38 kB / 0.956 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3082, allocations: 187.5 kB / 0.9561 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3082, allocations: 4 kB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3082, allocations: 4 kB / 0.9562 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3082, allocations: 8 kB / 0.9562 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.3087, allocations: 164.5 kB / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3098, allocations: 0.6288 MB / 0.9569 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.3103, allocations: 194.7 kB / 0.9571 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.3107, allocations: 136.8 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3107, allocations: 0 / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.3112, allocations: 201.4 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.3112, allocations: 0 / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001115/0.3123, allocations: 464.3 kB / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.3124, allocations: 118.8 kB / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3126, allocations: 211.1 kB / 0.9582 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.3127, allocations: 33.7 kB / 0.9582 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3128, allocations: 120.5 kB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.3129, allocations: 59.14 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.313, allocations: 69.67 kB / 0.9585 GB, free: 244 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3132, allocations: 330.8 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.3136, allocations: 155.9 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.314, allocations: 204.1 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.3147, allocations: 472.2 kB / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3147, allocations: 0 / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001019/0.3157, allocations: 0.5292 MB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/0.3158, allocations: 132.9 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3159, allocations: 0 / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3159, allocations: 4.125 kB / 0.9602 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3161, allocations: 43.89 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3161, allocations: 7.938 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.3165, allocations: 79.75 kB / 0.9603 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.3166, allocations: 31.97 kB / 0.9604 GB, free: 14.15 MB / 0.7481 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.0001705/0.3167, allocations: 203.2 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.3168, allocations: 19.75 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.3168, allocations: 25.86 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3168, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3168, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3169, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.3179, allocations: 0.6966 MB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3179, allocations: 0 / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.318, allocations: 31.97 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.318, allocations: 0 / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3181, allocations: 8 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3181, allocations: 4 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3181, allocations: 3.984 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.3188, allocations: 460.7 kB / 0.9618 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.3189, allocations: 104.8 kB / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.319, allocations: 0 / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3191, allocations: 23.97 kB / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.3192, allocations: 19.89 kB / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.3193, allocations: 27.95 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000132/0.3194, allocations: 152.7 kB / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.545e-06/0.3194, allocations: 0 / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003398/0.3198, allocations: 59.94 kB / 0.9622 GB, free: 12.2 MB / 0.7481 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.0001712/0.32, allocations: 111.2 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009718/0.3209, allocations: 0.5599 MB / 0.9628 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.321, allocations: 4.25 kB / 0.9628 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.3214, allocations: 246.7 kB / 0.963 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3218, allocations: 52.27 kB / 0.9631 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.3226, allocations: 438.2 kB / 0.9635 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.323, allocations: 0.7319 MB / 0.9642 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.3231, allocations: 45.5 kB / 0.9643 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.3231, allocations: 19.44 kB / 0.9643 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.3231, allocations: 0 / 0.9643 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of Templates: time 0.00708/0.3302, allocations: 3.716 MB / 0.9679 GB, free: 6.207 MB / 0.7481 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 -s gbode -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/jenkins1/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