Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009945, allocations: 100.1 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.0009706/0.0009707, allocations: 177.3 kB / 15.95 MB, free: 216 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7884, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009585/0.7894, allocations: 444 kB / 1.021 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.7911, allocations: 1.183 MB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.7912, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.7913, allocations: 11.92 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.7914, allocations: 11.98 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.7921, allocations: 208.1 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.7923, allocations: 131.8 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.7925, allocations: 31.97 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.7927, allocations: 87.73 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.7928, allocations: 63.84 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.7928, allocations: 11.94 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.793, allocations: 27.98 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.793, allocations: 23.92 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.7931, allocations: 49.64 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.7933, allocations: 165.6 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.7933, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7933, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7934, allocations: 0 / 1.023 GB, free: 14.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005578/0.7939, allocations: 470.2 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.794, allocations: 11.98 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.7941, allocations: 19.81 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.7947, allocations: 266.1 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.7947, allocations: 19.94 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.7948, allocations: 16 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.795, allocations: 117.1 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.795, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.7951, allocations: 4 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.7951, allocations: 8 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.7952, allocations: 47.91 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.796, allocations: 0.6805 MB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.796, allocations: 41.14 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.796, allocations: 4.125 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.7962, allocations: 92.97 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.7963, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002434/0.7965, allocations: 101.8 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.7966, allocations: 85.09 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.7967, allocations: 168.3 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.7968, allocations: 33.7 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.7969, allocations: 115.9 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.7969, allocations: 19.8 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.7969, allocations: 8 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7971, allocations: 326.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.7972, allocations: 51.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.7973, allocations: 116.5 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.7975, allocations: 119.5 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7975, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004099/0.7979, allocations: 264.7 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.798, allocations: 63.66 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.798, allocations: 11.92 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.798, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.085e-05/0.798, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7981, allocations: 3.938 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.7985, allocations: 95.77 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.7985, allocations: 15.98 kB / 1.026 GB, free: 10.95 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001409/0.7987, allocations: 146.1 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.7987, allocations: 7.906 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.7988, allocations: 16.25 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7988, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7988, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.7988, allocations: 3.984 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.799, allocations: 205.6 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.799, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.799, allocations: 7.922 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.799, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.799, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.799, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.799, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.7992, allocations: 127.5 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.7992, allocations: 88.92 kB / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.7993, allocations: 0 / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.7993, allocations: 96 / 1.027 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.7993, allocations: 15.92 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.7993, allocations: 4 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.7994, allocations: 122.5 kB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7994, allocations: 0 / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002881/0.7997, allocations: 35.94 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001586/0.7999, allocations: 115.2 kB / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.8002, allocations: 234.7 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8002, allocations: 0.5 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.8003, allocations: 27.92 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.8005, allocations: 19.95 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.801, allocations: 264.8 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.8012, allocations: 0.7082 MB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.8013, allocations: 13.06 kB / 1.029 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.8013, allocations: 23.44 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8013, allocations: 0 / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of Templates: time 0.004881/0.8062, allocations: 1.849 MB / 1.03 GB, free: 6.758 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches