Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_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.001353/0.001353, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00145/0.001451, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 12 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7928, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00119/0.7941, allocations: 0.6845 MB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7958, allocations: 1.269 MB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.7959, allocations: 7.938 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.796, allocations: 11.92 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.7961, allocations: 35.88 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.7968, allocations: 229 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.7971, allocations: 203.6 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.7972, allocations: 57.62 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.7974, allocations: 115.7 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.7976, allocations: 103.5 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.7976, allocations: 12 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.7977, allocations: 31.98 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.7978, allocations: 39.84 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.7979, allocations: 65.62 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.7982, allocations: 289.2 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7982, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7982, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7982, allocations: 3.938 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008994/0.7991, allocations: 0.5719 MB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7992, allocations: 15.98 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.7992, allocations: 31.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.8002, allocations: 385.4 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.8002, allocations: 12 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.8003, allocations: 27.89 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.8008, allocations: 217.8 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8008, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.8008, allocations: 4 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8008, allocations: 7.938 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.8013, allocations: 167.8 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.8025, allocations: 0.9226 MB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.8029, allocations: 169 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.8029, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.8033, allocations: 175.5 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.8033, allocations: 4 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0009231/0.8043, allocations: 301.4 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.8044, allocations: 154.2 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.8046, allocations: 221 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.8046, allocations: 37.7 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.8048, allocations: 148.2 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.8048, allocations: 31.64 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.8048, allocations: 4 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.805, allocations: 338.8 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.8054, allocations: 107.9 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.8058, allocations: 193.2 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.8061, allocations: 175.3 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8061, allocations: 3.953 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008491/0.807, allocations: 401.2 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.8071, allocations: 72.97 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8071, allocations: 0 / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8071, allocations: 4 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.8073, allocations: 31.97 kB / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8073, allocations: 4 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.8078, allocations: 119.7 kB / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.8078, allocations: 19.92 kB / 1.029 GB, free: 8.523 MB / 0.7794 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.808, allocations: 145.8 kB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.808, allocations: 23.75 kB / 1.029 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.8081, allocations: 25.23 kB / 1.029 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8081, allocations: 0 / 1.029 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.8081, allocations: 4 kB / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.8081, allocations: 0 / 1.029 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.8084, allocations: 257.5 kB / 1.029 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8084, allocations: 7.938 kB / 1.029 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.8086, allocations: 39.8 kB / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8086, allocations: 4 kB / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.8086, allocations: 0 / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.8086, allocations: 4 kB / 1.029 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8086, allocations: 0 / 1.029 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.8093, allocations: 322.9 kB / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/0.8093, allocations: 88.92 kB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.8094, allocations: 7.984 kB / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.8095, allocations: 23.98 kB / 1.03 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.8096, allocations: 19.92 kB / 1.03 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.8096, allocations: 8 kB / 1.03 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001506/0.8098, allocations: 160.5 kB / 1.03 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8098, allocations: 0 / 1.03 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003048/0.8101, allocations: 51.84 kB / 1.03 GB, free: 7.227 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.8103, allocations: 107.2 kB / 1.03 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.8111, allocations: 366.6 kB / 1.03 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8111, allocations: 0 / 1.03 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.8114, allocations: 92.31 kB / 1.03 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.8117, allocations: 36.41 kB / 1.03 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.8124, allocations: 444.2 kB / 1.031 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.8128, allocations: 0.7557 MB / 1.032 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.8129, allocations: 29.53 kB / 1.032 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.813, allocations: 19.44 kB / 1.032 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.813, allocations: 0 / 1.032 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of Templates: time 0.006173/0.8192, allocations: 2.816 MB / 1.034 GB, free: 2.527 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches