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.001727/0.001727, allocations: 106.5 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.001146/0.001146, allocations: 189.4 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.14 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 62.16 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3181, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002698/0.3208, allocations: 1.054 MB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3226, allocations: 1.307 MB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.3227, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3228, allocations: 19.8 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.3229, allocations: 35.59 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.3236, allocations: 282.8 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.324, allocations: 363.3 kB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3242, allocations: 74.64 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3244, allocations: 139.6 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3246, allocations: 131.5 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.3246, allocations: 32 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.3247, allocations: 47.98 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.3248, allocations: 51.78 kB / 0.9546 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.325, allocations: 123.5 kB / 0.9547 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.3254, allocations: 370.8 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3254, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3254, allocations: 0 / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3254, 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.001009/0.3264, allocations: 0.6342 MB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3265, allocations: 12.03 kB / 0.9557 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.3266, allocations: 28.73 kB / 0.9557 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3269, allocations: 256.8 kB / 0.9559 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3269, allocations: 16.59 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.327, allocations: 16.38 kB / 0.956 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.3274, allocations: 187.6 kB / 0.9561 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3274, allocations: 0 / 0.9561 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.3275, allocations: 11.98 kB / 0.9562 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3275, allocations: 4 kB / 0.9562 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.328, allocations: 160.6 kB / 0.9563 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3291, allocations: 0.6366 MB / 0.9569 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.3296, allocations: 190.7 kB / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3299, allocations: 140.8 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3299, allocations: 0 / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004274/0.3303, allocations: 193.1 kB / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3304, allocations: 0 / 0.9574 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001028/0.3314, allocations: 472.3 kB / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3315, allocations: 114.8 kB / 0.958 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3317, allocations: 211.1 kB / 0.9582 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.3317, allocations: 33.7 kB / 0.9582 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.3318, allocations: 124.5 kB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3319, allocations: 59.14 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.332, allocations: 65.69 kB / 0.9585 GB, free: 248 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3322, allocations: 330.8 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.3326, allocations: 159.9 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.333, allocations: 207.4 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.3337, allocations: 476.1 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3337, allocations: 0 / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009535/0.3347, allocations: 0.5272 MB / 0.9601 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.3348, allocations: 136.8 kB / 0.9602 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3348, allocations: 4.125 kB / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3348, allocations: 0 / 0.9602 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.335, allocations: 39.91 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.335, allocations: 0 / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.3354, allocations: 79.75 kB / 0.9603 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.3355, allocations: 35.95 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.0001839/0.3357, allocations: 199.1 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3358, allocations: 27.73 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.3358, allocations: 17.88 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.3358, allocations: 4 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3358, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3358, allocations: 3.984 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.3368, allocations: 0.6889 MB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3368, allocations: 0 / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.337, allocations: 31.97 kB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.337, allocations: 0 / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.337, allocations: 15.98 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.337, allocations: 0 / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.337, allocations: 0 / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.3377, allocations: 472.8 kB / 0.9618 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.3378, allocations: 92.86 kB / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3378, allocations: 4 kB / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.338, allocations: 23.97 kB / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.3381, allocations: 19.88 kB / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.3381, allocations: 27.97 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001335/0.3383, allocations: 148.7 kB / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.783e-06/0.3383, allocations: 0 / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003075/0.3386, allocations: 59.94 kB / 0.9621 GB, free: 12.21 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.3388, allocations: 111.2 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000929/0.3397, allocations: 0.5639 MB / 0.9628 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3397, allocations: 0 / 0.9628 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.3401, allocations: 250.6 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.0004095/0.3405, allocations: 54.52 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.0007861/0.3413, allocations: 434.5 kB / 0.9635 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3416, allocations: 0.7319 MB / 0.9642 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.3418, allocations: 49.5 kB / 0.9643 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3418, allocations: 15.44 kB / 0.9643 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.3418, allocations: 0 / 0.9643 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of Templates: time 0.007195/0.349, allocations: 3.72 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 cvode -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