Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001428/0.001428, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001412/0.001412, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.18 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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.98 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.296, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001995/0.2981, allocations: 0.7095 MB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.2997, allocations: 1.255 MB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.2997, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2998, allocations: 15.86 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.2999, allocations: 11.88 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.3006, allocations: 235.3 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.3009, allocations: 259.6 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.301, allocations: 31.98 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3012, allocations: 107.8 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3013, allocations: 87.69 kB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.3014, allocations: 24 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.3015, allocations: 35.98 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.3016, allocations: 39.91 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3017, allocations: 83.62 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3019, allocations: 239.2 kB / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.302, allocations: 0 / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.302, allocations: 0 / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.302, allocations: 0 / 0.9542 GB, free: 4.941 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000591/0.3026, allocations: 0.4944 MB / 0.9547 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3026, allocations: 8.031 kB / 0.9547 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.3027, allocations: 24.75 kB / 0.9547 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.3033, allocations: 268.1 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3034, allocations: 12.33 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.3034, allocations: 20.38 kB / 0.955 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3036, allocations: 126.7 kB / 0.9551 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3037, allocations: 3.938 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3037, allocations: 0 / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3037, allocations: 7.984 kB / 0.9551 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.3038, allocations: 51.91 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.3045, allocations: 0.661 MB / 0.9558 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.3046, allocations: 41.14 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.3046, allocations: 17.84 kB / 0.9559 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3046, allocations: 3.984 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.3048, allocations: 96.97 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3049, allocations: 0 / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002793/0.3051, allocations: 101.5 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3052, allocations: 85.05 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3054, allocations: 173.6 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.3054, allocations: 33.7 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.3055, allocations: 127.8 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3056, allocations: 11.89 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3057, allocations: 69.58 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3058, allocations: 318.8 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3059, allocations: 55.97 kB / 0.9569 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3061, allocations: 127.9 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3063, allocations: 174.2 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3063, allocations: 0 / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004281/0.3068, allocations: 264.7 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.3069, allocations: 63.39 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3069, allocations: 4 kB / 0.9575 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3069, allocations: 4 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-05/0.3069, allocations: 3.938 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3069, allocations: 4.25 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.3074, allocations: 75.83 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3074, allocations: 19.98 kB / 0.9576 GB, free: 1.062 MB / 0.7325 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 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.3076, allocations: 141.7 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.3076, allocations: 11.84 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.3076, allocations: 20.23 kB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3077, allocations: 0 / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3077, allocations: 0 / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3077, allocations: 4.094 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3078, allocations: 201.6 kB / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3078, allocations: 3.938 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.3079, allocations: 4 kB / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3079, allocations: 0 / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3079, allocations: 0 / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3079, allocations: 0 / 0.958 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3079, allocations: 4.375 kB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.308, allocations: 117.8 kB / 0.9581 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3081, allocations: 92.94 kB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3081, allocations: 3.984 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.3081, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3082, allocations: 11.94 kB / 0.9582 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3082, allocations: 7.984 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.788e-05/0.3083, allocations: 121.6 kB / 0.9583 GB, free: 236 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3083, allocations: 0 / 0.9583 GB, free: 236 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002549/0.3086, allocations: 39.91 kB / 0.9583 GB, free: 196 kB / 0.7325 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 (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.0001729/0.3087, allocations: 107.2 kB / 0.9584 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.3091, allocations: 234.7 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3091, allocations: 3.938 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.3092, allocations: 20.48 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3094, allocations: 33.64 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.3099, allocations: 242.7 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3101, allocations: 0.7117 MB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.3102, allocations: 20.81 kB / 0.9597 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3102, allocations: 19.44 kB / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3102, allocations: 0 / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.004886/0.3151, allocations: 1.995 MB / 0.9616 GB, free: 12.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches