Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 160.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.75/2.75, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.945e-05, allocations: 6.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002589/0.002619, allocations: 1.247 MB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.005112, allocations: 1.571 MB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.005238, allocations: 7.938 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.005395, allocations: 35.59 kB / 0.9538 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.005559, allocations: 79.31 kB / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.006782, allocations: 0.4919 MB / 0.9543 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007823/0.007564, allocations: 0.6637 MB / 0.955 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.007847, allocations: 117.2 kB / 0.9551 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.008308, allocations: 371.3 kB / 0.9554 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.008631, allocations: 191.5 kB / 0.9556 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.008736, allocations: 68 kB / 0.9557 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.008879, allocations: 72 kB / 0.9558 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.008986, allocations: 79.69 kB / 0.9558 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.009237, allocations: 199.5 kB / 0.956 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.0101, allocations: 0.7558 MB / 0.9568 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.01011, allocations: 7.984 kB / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01011, allocations: 0 / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.01012, allocations: 0 / 0.9568 GB, free: 5.609 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001403/0.01153, allocations: 0.8711 MB / 0.9576 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.01157, allocations: 12.03 kB / 0.9576 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.0117, allocations: 52.69 kB / 0.9577 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.01309, allocations: 408.6 kB / 0.9581 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.01313, allocations: 28.88 kB / 0.9581 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.01322, allocations: 44.36 kB / 0.9581 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.01403, allocations: 457 kB / 0.9586 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01405, allocations: 4.188 kB / 0.9586 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.01408, allocations: 8.375 kB / 0.9586 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01409, allocations: 12.12 kB / 0.9586 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.01487, allocations: 382.3 kB / 0.959 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.01649, allocations: 0.7283 MB / 0.9597 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.01726, allocations: 482.7 kB / 0.9601 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.01792, allocations: 389.4 kB / 0.9605 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.01795, allocations: 7.938 kB / 0.9605 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.01865, allocations: 467.4 kB / 0.961 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.01865, allocations: 0 / 0.961 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.001905/0.02056, allocations: 1.108 MB / 0.962 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.02068, allocations: 191.9 kB / 0.9622 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.021, allocations: 280.5 kB / 0.9625 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.02116, allocations: 45.7 kB / 0.9625 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.02131, allocations: 168.9 kB / 0.9627 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.02148, allocations: 130.9 kB / 0.9628 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.02172, allocations: 138.1 kB / 0.963 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.02194, allocations: 346.8 kB / 0.9633 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009039/0.02284, allocations: 0.5275 MB / 0.9638 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.02373, allocations: 0.6103 MB / 0.9644 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.02511, allocations: 0.9099 MB / 0.9653 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02512, allocations: 4 kB / 0.9653 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002163/0.02728, allocations: 1.26 MB / 0.9665 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.02749, allocations: 263.2 kB / 0.9668 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.0275, allocations: 4 kB / 0.9668 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.02753, allocations: 8.219 kB / 0.9668 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.02783, allocations: 71.89 kB / 0.9669 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.02784, allocations: 7.938 kB / 0.9669 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008064/0.02865, allocations: 143.6 kB / 0.967 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.02877, allocations: 71.86 kB / 0.9671 GB, free: 10.13 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003508/0.02913, allocations: 311.8 kB / 0.9674 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.02919, allocations: 39.75 kB / 0.9674 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.02928, allocations: 43.38 kB / 0.9674 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.02928, allocations: 7.984 kB / 0.9674 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.02929, allocations: 0 / 0.9674 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.0293, allocations: 4 kB / 0.9675 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.03129, allocations: 1.218 MB / 0.9686 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0313, allocations: 4 kB / 0.9686 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.03156, allocations: 63.89 kB / 0.9687 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.03156, allocations: 0 / 0.9687 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.0316, allocations: 8 kB / 0.9687 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.0316, allocations: 7.984 kB / 0.9687 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0316, allocations: 0 / 0.9687 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.03305, allocations: 0.9014 MB / 0.9696 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.03311, allocations: 35.7 kB / 0.9696 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.03316, allocations: 12 kB / 0.9696 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.03339, allocations: 23.97 kB / 0.9697 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.03351, allocations: 39.94 kB / 0.9697 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.03359, allocations: 51.88 kB / 0.9698 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002054/0.0338, allocations: 187.1 kB / 0.9699 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0338, allocations: 0 / 0.9699 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000464/0.03426, allocations: 119.9 kB / 0.9701 GB, free: 6.855 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002574/0.03452, allocations: 112.2 kB / 0.9702 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.0365, allocations: 1.437 MB / 0.9716 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.0365, allocations: 0 / 0.9716 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.03726, allocations: 0.6262 MB / 0.9722 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.03784, allocations: 100.6 kB / 0.9723 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.0393, allocations: 0.9343 MB / 0.9732 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.0395, allocations: 188.3 kB / 0.9734 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.03972, allocations: 87.2 kB / 0.9734 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.0398, allocations: 36.44 kB / 0.9735 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.0398, allocations: 0 / 0.9735 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of Templates: time 0.01462/0.05442, allocations: 6.986 MB / 0.9803 GB, free: 12.15 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.475720901042223]