Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 218.3 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.03 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00193/0.3075, allocations: 0.7209 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3093, allocations: 1.285 MB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.3093, allocations: 0 / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.3094, allocations: 15.8 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.3095, allocations: 7.938 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.3102, allocations: 242.7 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3105, allocations: 255.6 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3107, allocations: 31.86 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3108, allocations: 103.8 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.311, allocations: 87.77 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.311, allocations: 20 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3112, allocations: 47.84 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.3112, allocations: 43.86 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3113, allocations: 87.62 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.3117, allocations: 227.2 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3117, allocations: 0 / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3117, allocations: 0 / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3117, allocations: 0 / 1.288 GB, free: 8.082 MB / 0.9825 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.0006222/0.3123, allocations: 437.1 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3123, allocations: 8.031 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.3126, allocations: 52.81 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.3132, allocations: 202.3 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3132, allocations: 12.36 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.3132, allocations: 20.38 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3135, allocations: 125.6 kB / 1.289 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3135, allocations: 3.938 kB / 1.289 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3135, allocations: 4 kB / 1.289 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3135, allocations: 4 kB / 1.289 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.3136, allocations: 55.91 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.3143, allocations: 0.6251 MB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.3144, allocations: 49.14 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.3144, allocations: 17.78 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.3144, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3146, allocations: 96.95 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3146, allocations: 0 / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000262/0.3148, allocations: 109.5 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.3149, allocations: 77.11 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.315, allocations: 167.1 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3151, allocations: 33.7 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3152, allocations: 120 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.3152, allocations: 15.88 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3153, allocations: 61.69 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3155, allocations: 318.8 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3156, allocations: 55.95 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3157, allocations: 113.8 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.316, allocations: 178.2 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.316, allocations: 3.938 kB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004497/0.3164, allocations: 289 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.3165, allocations: 63.41 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3165, allocations: 96 / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3165, allocations: 7.938 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/0.3165, allocations: 7.984 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3165, allocations: 3.938 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.3168, allocations: 56.19 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.3169, allocations: 12 kB / 1.291 GB, free: 4.395 MB / 0.9825 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.0001284/0.317, allocations: 140.5 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.317, allocations: 15.84 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.3171, allocations: 12.34 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3171, allocations: 4 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3171, allocations: 4 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3171, allocations: 0 / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3172, allocations: 172.7 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3172, allocations: 3.938 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.3173, allocations: 0 / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3173, allocations: 0 / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3173, allocations: 11.98 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.3173, allocations: 3.938 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3173, allocations: 0 / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3174, allocations: 113.9 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3175, allocations: 15.78 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3175, allocations: 8 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.3175, allocations: 0 / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.3175, allocations: 7.984 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3175, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001012/0.3176, allocations: 121 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000257/0.3179, allocations: 36 kB / 1.292 GB, free: 3.664 MB / 0.9825 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.0001378/0.318, allocations: 115.1 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.3184, allocations: 206.7 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3184, allocations: 0 / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.3184, allocations: 19.94 kB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3187, allocations: 38.66 kB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.3192, allocations: 273.9 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3195, allocations: 0.7119 MB / 1.293 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.3195, allocations: 11.44 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3195, allocations: 3.938 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of Templates: time 0.003816/0.3234, allocations: 1.9 MB / 1.295 GB, free: 340 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.533552047010744]