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.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.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.001729/0.001729, allocations: 110 kB / 16.37 MB, free: 6.016 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.002016/0.002016, allocations: 198.6 kB / 17.31 MB, free: 5.609 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.585/1.585, allocations: 222.9 MB / 241 MB, free: 15.16 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.365/2.365, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 66.97 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002636/0.3083, allocations: 0.9795 MB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.31, allocations: 1.288 MB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.3101, allocations: 4 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.3103, allocations: 19.73 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.3104, allocations: 35.66 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.3111, allocations: 251.4 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.3115, allocations: 339.3 kB / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3117, allocations: 49.53 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3119, allocations: 123.7 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.3121, allocations: 119.5 kB / 0.9543 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.3122, allocations: 32 kB / 0.9543 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3123, allocations: 43.98 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.3124, allocations: 39.84 kB / 0.9544 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.3125, allocations: 119.5 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.3129, allocations: 331 kB / 0.9548 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3129, allocations: 4 kB / 0.9548 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3129, allocations: 3.938 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3129, allocations: 3.938 kB / 0.9548 GB, free: 4.258 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.0008892/0.3138, allocations: 0.5644 MB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3139, allocations: 8.031 kB / 0.9554 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.314, allocations: 36.58 kB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3143, allocations: 251.9 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3143, allocations: 8.375 kB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.3143, allocations: 16.38 kB / 0.9557 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.3147, allocations: 180.2 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3148, allocations: 192 / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3148, allocations: 7.938 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3148, allocations: 0 / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.3152, allocations: 139.8 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3164, allocations: 0.8797 MB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3167, allocations: 157 kB / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.317, allocations: 92.3 kB / 0.9571 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.317, allocations: 15.92 kB / 0.9571 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.3174, allocations: 171.5 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.3174, allocations: 4 kB / 0.9573 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0008542/0.3182, allocations: 285.5 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.3183, allocations: 162.1 kB / 0.9577 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3185, allocations: 203 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3186, allocations: 33.7 kB / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.3187, allocations: 128.2 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.3187, allocations: 39.59 kB / 0.9581 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3189, allocations: 53.69 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.319, allocations: 330.8 kB / 0.9584 GB, free: 188 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.3193, allocations: 115.9 kB / 0.9585 GB, free: 72 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.3197, allocations: 187.6 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.3203, allocations: 290.9 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3203, allocations: 4 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008638/0.3212, allocations: 404.5 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.3213, allocations: 71.39 kB / 0.9595 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3213, allocations: 4 kB / 0.9595 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3213, allocations: 4.219 kB / 0.9595 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.3215, allocations: 35.84 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3215, allocations: 4 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.3219, allocations: 75.81 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3219, allocations: 8 kB / 0.9596 GB, free: 14.91 MB / 0.7481 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.0001425/0.3221, allocations: 145.8 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3221, allocations: 15.81 kB / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3222, allocations: 28.86 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3222, allocations: 3.938 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3222, allocations: 4 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3222, allocations: 0 / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3224, allocations: 245.5 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3224, allocations: 0 / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3226, allocations: 36.42 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3226, allocations: 0 / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3226, allocations: 8 kB / 0.96 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3226, allocations: 7.922 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3226, allocations: 4 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.3232, allocations: 256.1 kB / 0.9603 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3233, allocations: 96.91 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.3233, allocations: 4 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3234, allocations: 27.91 kB / 0.9604 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.3235, allocations: 15.98 kB / 0.9604 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.3235, allocations: 4 kB / 0.9604 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001268/0.3237, allocations: 148.4 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3237, allocations: 0 / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000321/0.324, allocations: 55.83 kB / 0.9606 GB, free: 13.71 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.0001594/0.3242, allocations: 115.2 kB / 0.9608 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.3249, allocations: 370.5 kB / 0.9611 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3249, allocations: 0 / 0.9611 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.3252, allocations: 88.31 kB / 0.9612 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3256, allocations: 47.89 kB / 0.9612 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.3262, allocations: 327.2 kB / 0.9615 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3265, allocations: 0.7278 MB / 0.9623 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.901e-05/0.3266, allocations: 29.41 kB / 0.9623 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.3266, allocations: 15.44 kB / 0.9623 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.3266, allocations: 4 kB / 0.9623 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of Templates: time 0.006583/0.3332, allocations: 3.196 MB / 0.9654 GB, free: 8.762 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 -s cvode -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