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.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.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.001089/0.001089, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001092/0.001092, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.497/2.497, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 63.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7896, allocations: 140.4 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002239/0.7919, allocations: 1.037 MB / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.7936, allocations: 1.278 MB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.7937, allocations: 4.938 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.7939, allocations: 4.969 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.794, allocations: 35.84 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.7947, allocations: 234.7 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.795, allocations: 340.9 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.7952, allocations: 53.38 kB / 0.952 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.7953, allocations: 127.3 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.7955, allocations: 105.6 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.7955, allocations: 31.47 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.7957, allocations: 48.72 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.7958, allocations: 36.75 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.7959, allocations: 114.3 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.7964, allocations: 339.6 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7964, allocations: 1.031 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7964, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.7965, allocations: 4 kB / 0.9528 GB, free: 6.293 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001174/0.7977, allocations: 0.5672 MB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.7977, allocations: 9.75 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.7978, allocations: 26 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.7982, allocations: 258 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.7982, allocations: 11.44 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.7983, allocations: 17.06 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.7988, allocations: 178.8 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7988, allocations: 192 / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.7988, allocations: 9.203 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.7988, allocations: 3.062 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.7993, allocations: 138.6 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.8005, allocations: 0.8782 MB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.8009, allocations: 165.1 kB / 0.955 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.8012, allocations: 87.98 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.8012, allocations: 5.375 kB / 0.9551 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.8017, allocations: 182.8 kB / 0.9552 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.8017, allocations: 0 / 0.9552 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001044/0.8027, allocations: 280.8 kB / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/0.8028, allocations: 174.1 kB / 0.9557 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.8031, allocations: 199 kB / 0.9559 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.8031, allocations: 34.42 kB / 0.9559 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.8032, allocations: 135.1 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.8033, allocations: 28.06 kB / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8034, allocations: 51.5 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.8035, allocations: 330.2 kB / 0.9564 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.8038, allocations: 125.1 kB / 0.9565 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.8042, allocations: 173.4 kB / 0.9567 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.8047, allocations: 297 kB / 0.957 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8048, allocations: 0 / 0.957 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000871/0.8056, allocations: 408.9 kB / 0.9574 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.8057, allocations: 70.83 kB / 0.9574 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8057, allocations: 1.781 kB / 0.9574 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.8057, allocations: 3.531 kB / 0.9574 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.8059, allocations: 34.22 kB / 0.9575 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.806, allocations: 5.938 kB / 0.9575 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.8064, allocations: 74.81 kB / 0.9575 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.8064, allocations: 22.42 kB / 0.9576 GB, free: 2.168 MB / 0.7169 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.0001263/0.8066, allocations: 140.3 kB / 0.9577 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.8066, allocations: 23.97 kB / 0.9577 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.8067, allocations: 18.42 kB / 0.9577 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.8067, allocations: 6.688 kB / 0.9577 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8067, allocations: 1.375 kB / 0.9578 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8067, allocations: 1.375 kB / 0.9578 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.8069, allocations: 245.2 kB / 0.958 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8069, allocations: 1.375 kB / 0.958 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.8071, allocations: 29.78 kB / 0.958 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8071, allocations: 1.375 kB / 0.958 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.8071, allocations: 6.734 kB / 0.958 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.8071, allocations: 13.3 kB / 0.958 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8071, allocations: 2.75 kB / 0.958 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.8076, allocations: 253.6 kB / 0.9583 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.8077, allocations: 94.25 kB / 0.9584 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.8077, allocations: 3.094 kB / 0.9584 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.8079, allocations: 26.22 kB / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.8079, allocations: 19.11 kB / 0.9584 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.808, allocations: 4.562 kB / 0.9584 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000121/0.8081, allocations: 145.3 kB / 0.9586 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8081, allocations: 0 / 0.9586 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003045/0.8084, allocations: 44 kB / 0.9586 GB, free: 1.305 MB / 0.7169 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.0002038/0.8086, allocations: 116.6 kB / 0.9587 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.8094, allocations: 375.6 kB / 0.9591 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8094, allocations: 0 / 0.9591 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.8098, allocations: 87.62 kB / 0.9592 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.8102, allocations: 40.55 kB / 0.9592 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.8109, allocations: 396.3 kB / 0.9596 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.8112, allocations: 0.7265 MB / 0.9603 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000107/0.8113, allocations: 27.59 kB / 0.9603 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.8114, allocations: 14.91 kB / 0.9603 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.655e-06/0.8114, allocations: 0 / 0.9603 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.007795/0.8192, allocations: 3.027 MB / 0.9633 GB, free: 14.32 MB / 0.7325 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 -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/jenkins/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