Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002019/0.002019, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002182/0.002182, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.558/1.558, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002055/0.002055, allocations: 63.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.81, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00165/0.8116, allocations: 0.715 MB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.8128, allocations: 1.281 MB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.8128, allocations: 2.969 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.542e-05/0.8129, allocations: 11.16 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.813, allocations: 14.77 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.8136, allocations: 248.2 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.8138, allocations: 236.8 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.8139, allocations: 37.75 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.814, allocations: 111.6 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.8141, allocations: 82.27 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.8142, allocations: 19.5 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.8142, allocations: 43.73 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.8143, allocations: 38.31 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.8144, allocations: 92.33 kB / 1.325 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.8146, allocations: 232.1 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8146, allocations: 0 / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8146, allocations: 0 / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8146, allocations: 0 / 1.325 GB, free: 23.2 MB / 1.061 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.0004526/0.815, allocations: 0.5018 MB / 1.326 GB, free: 22.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.8151, allocations: 12.86 kB / 1.326 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.8154, allocations: 56.69 kB / 1.326 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.8159, allocations: 263.3 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.8159, allocations: 16.78 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.8159, allocations: 11.81 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.8161, allocations: 126.7 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.8161, allocations: 3.938 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8161, allocations: 10.88 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8161, allocations: 3.062 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.8162, allocations: 51.83 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.8167, allocations: 0.6623 MB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.8167, allocations: 42.19 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.8167, allocations: 16.66 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.8167, allocations: 2.906 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.8169, allocations: 98.27 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.8169, allocations: 3.984 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002101/0.8171, allocations: 103.1 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.8171, allocations: 77.11 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.8172, allocations: 175.7 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.8172, allocations: 30.92 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.8173, allocations: 125.5 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.8173, allocations: 9.641 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.8174, allocations: 63.08 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.8175, allocations: 323.8 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.8176, allocations: 52.83 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.8177, allocations: 116.1 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.8179, allocations: 174 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8179, allocations: 0 / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004185/0.8183, allocations: 282 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.8184, allocations: 62.84 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8184, allocations: 1.688 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8184, allocations: 2.812 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.8184, allocations: 14.39 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8184, allocations: 6 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.8188, allocations: 54.41 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.8188, allocations: 9.844 kB / 1.328 GB, free: 20.3 MB / 1.061 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 9.341e-05/0.8189, allocations: 144.9 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.8189, allocations: 21.31 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.8189, allocations: 7.312 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8189, allocations: 1.188 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8189, allocations: 7.891 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8189, allocations: 0.7188 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.8191, allocations: 205.6 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8191, allocations: 3.938 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.8191, allocations: 9.156 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8191, allocations: 1.125 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8191, allocations: 1.219 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8191, allocations: 0.6875 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8191, allocations: 1 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.8192, allocations: 118.5 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.8192, allocations: 95.53 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.8193, allocations: 1.125 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/0.8193, allocations: 0.5938 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.8193, allocations: 10.5 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.8193, allocations: 3.594 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.8194, allocations: 116.3 kB / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8194, allocations: 0 / 1.329 GB, free: 19.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002693/0.8196, allocations: 41.38 kB / 1.329 GB, free: 19.62 MB / 1.061 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.0001204/0.8198, allocations: 105.7 kB / 1.329 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.8201, allocations: 209.9 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8201, allocations: 3.938 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.8201, allocations: 20.69 kB / 1.33 GB, free: 19.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.8204, allocations: 24.78 kB / 1.33 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.8208, allocations: 277.2 kB / 1.33 GB, free: 19.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.8209, allocations: 0.7103 MB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.8209, allocations: 16.28 kB / 1.331 GB, free: 18.44 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8209, allocations: 0 / 1.331 GB, free: 18.44 MB / 1.061 GB Notification: Performance of Templates: time 0.004055/0.825, allocations: 1.897 MB / 1.332 GB, free: 18.25 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.77650171899586]