Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 191.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.84 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 160.8 MB / 1.218 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.003242/1.076, allocations: 0.7342 MB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002331/1.079, allocations: 1.254 MB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/1.079, allocations: 9.312 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/1.079, allocations: 13.02 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/1.079, allocations: 23.69 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/1.08, allocations: 243.3 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003567/1.08, allocations: 244.6 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/1.08, allocations: 24.3 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/1.08, allocations: 110.4 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/1.081, allocations: 86.42 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/1.081, allocations: 19.62 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/1.081, allocations: 41.34 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/1.081, allocations: 37.45 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/1.081, allocations: 89.16 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/1.081, allocations: 229.5 kB / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.081, allocations: 1.094 kB / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.974e-06/1.081, allocations: 0 / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.081, allocations: 0 / 1.222 GB, free: 1.41 MB / 0.92 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.0007665/1.082, allocations: 0.5031 MB / 1.222 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.082, allocations: 9.688 kB / 1.222 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/1.082, allocations: 20.59 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/1.083, allocations: 269.8 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.083, allocations: 15.56 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/1.083, allocations: 14.56 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/1.083, allocations: 135.6 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.083, allocations: 8.859 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.083, allocations: 5.125 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.083, allocations: 2.156 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.083, allocations: 50.56 kB / 1.223 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/1.084, allocations: 0.6667 MB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/1.084, allocations: 41.41 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/1.085, allocations: 17 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/1.085, allocations: 1.062 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/1.085, allocations: 96.77 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/1.085, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003062/1.085, allocations: 101.4 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.085, allocations: 78.17 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/1.085, allocations: 183.4 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/1.085, allocations: 33.83 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.086, allocations: 127.1 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/1.086, allocations: 10.14 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.086, allocations: 66.97 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.086, allocations: 322 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/1.086, allocations: 51.72 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/1.086, allocations: 118.7 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/1.087, allocations: 179.2 kB / 1.225 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.087, allocations: 5.156 kB / 1.225 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004955/1.087, allocations: 269.4 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/1.087, allocations: 68.36 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.087, allocations: 2.062 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.087, allocations: 1.875 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.823e-05/1.087, allocations: 11.92 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.087, allocations: 2.156 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.088, allocations: 68.91 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/1.088, allocations: 9.656 kB / 1.225 GB, free: 14.21 MB / 0.9356 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.0001776/1.088, allocations: 153.4 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.088, allocations: 16.27 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/1.088, allocations: 11.84 kB / 1.225 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.088, allocations: 9.859 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.088, allocations: 0 / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.088, allocations: 1.156 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.088, allocations: 203.4 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.088, allocations: 3.938 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/1.088, allocations: 2.281 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.088, allocations: 1.188 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.088, allocations: 4.859 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.088, allocations: 4.875 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.088, allocations: 0.9062 kB / 1.225 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/1.088, allocations: 115.1 kB / 1.225 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/1.088, allocations: 88.41 kB / 1.226 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/1.088, allocations: 9.938 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/1.088, allocations: 1.094 kB / 1.226 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/1.088, allocations: 5.984 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.088, allocations: 7.156 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001122/1.089, allocations: 117.2 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/1.089, allocations: 0 / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002883/1.089, allocations: 43.3 kB / 1.226 GB, free: 13.48 MB / 0.9356 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.0002019/1.089, allocations: 108.7 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000409/1.089, allocations: 212.5 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.09, allocations: 4.125 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/1.09, allocations: 12.59 kB / 1.226 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/1.09, allocations: 28.52 kB / 1.226 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/1.09, allocations: 245.6 kB / 1.226 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/1.091, allocations: 0.7125 MB / 1.227 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.968e-05/1.091, allocations: 12.38 kB / 1.227 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/1.091, allocations: 14.53 kB / 1.227 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.091, allocations: 0 / 1.227 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of Templates: time 0.006293/1.097, allocations: 2.021 MB / 1.229 GB, free: 11.23 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.420070733875036]