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.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.001089/0.001089, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001027/0.001027, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9271/0.9271, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.413/2.413, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.298e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001898/0.001921, allocations: 0.7113 MB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.003708, allocations: 1.291 MB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.003759, allocations: 0 / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.916e-05/0.003858, allocations: 11.88 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.003908, allocations: 19.8 kB / 0.8917 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.007651, allocations: 235.4 kB / 0.892 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.007979, allocations: 247.6 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.008129, allocations: 27.91 kB / 0.8922 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.008369, allocations: 147.8 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.008539, allocations: 63.84 kB / 0.8924 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.008582, allocations: 16 kB / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.008683, allocations: 39.97 kB / 0.8925 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.008747, allocations: 35.84 kB / 0.8925 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.008828, allocations: 59.89 kB / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.009246, allocations: 183.3 kB / 0.8928 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009248, allocations: 0 / 0.8928 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.487e-06/0.009251, allocations: 3.984 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.009256, allocations: 0 / 0.8928 GB, free: 6.66 MB / 0.8542 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.0005337/0.00979, allocations: 0.5228 MB / 0.8933 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.009837, allocations: 12.62 kB / 0.8933 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.01313, allocations: 52.81 kB / 0.8933 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.01335, allocations: 184.3 kB / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.01337, allocations: 12.38 kB / 0.8935 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.0134, allocations: 16.38 kB / 0.8935 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.01355, allocations: 112.9 kB / 0.8936 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.01356, allocations: 4.188 kB / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.01357, allocations: 8.359 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01358, allocations: 4.375 kB / 0.8937 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.01362, allocations: 23.86 kB / 0.8937 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.01415, allocations: 0.7391 MB / 0.8944 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.0142, allocations: 58.11 kB / 0.8945 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.01422, allocations: 23.38 kB / 0.8945 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.01423, allocations: 4.062 kB / 0.8945 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.01435, allocations: 100.3 kB / 0.8946 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01435, allocations: 0 / 0.8946 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0001936/0.01454, allocations: 89.56 kB / 0.8947 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.01458, allocations: 81.11 kB / 0.8947 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01473, allocations: 232.1 kB / 0.895 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.01476, allocations: 33.7 kB / 0.895 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.01485, allocations: 166.7 kB / 0.8952 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.01486, allocations: 23.88 kB / 0.8952 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.704e-05/0.01495, allocations: 67.27 kB / 0.8952 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.01506, allocations: 0.4962 MB / 0.8957 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.01515, allocations: 95.36 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01529, allocations: 243.6 kB / 0.896 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.01567, allocations: 192.8 kB / 0.8962 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01567, allocations: 0 / 0.8962 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.003346/0.01902, allocations: 308.2 kB / 0.8965 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.01906, allocations: 67.39 kB / 0.8966 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01907, allocations: 4 kB / 0.8966 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01908, allocations: 3.984 kB / 0.8966 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/0.0191, allocations: 11.88 kB / 0.8966 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.01911, allocations: 7.938 kB / 0.8966 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.01932, allocations: 40.17 kB / 0.8967 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.01934, allocations: 23.97 kB / 0.8967 GB, free: 2.207 MB / 0.8542 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,con1.y,con.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.583e-05/0.01944, allocations: 164.6 kB / 0.8968 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.01946, allocations: 15.94 kB / 0.8968 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.0195, allocations: 4.719 kB / 0.8969 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.0195, allocations: 8 kB / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.0195, allocations: 0 / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.01951, allocations: 11.92 kB / 0.8969 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.01962, allocations: 137.1 kB / 0.897 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01962, allocations: 0 / 0.897 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.01963, allocations: 4 kB / 0.897 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01963, allocations: 0 / 0.897 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.01963, allocations: 0 / 0.897 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01963, allocations: 4 kB / 0.897 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01964, allocations: 0 / 0.897 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.01977, allocations: 128 kB / 0.8971 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01978, allocations: 7.953 kB / 0.8971 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.01979, allocations: 3.984 kB / 0.8971 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.01981, allocations: 4 kB / 0.8971 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.01984, allocations: 7.938 kB / 0.8972 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01984, allocations: 7.984 kB / 0.8972 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.01991, allocations: 155.3 kB / 0.8973 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01991, allocations: 0 / 0.8973 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002621/0.02017, allocations: 43.88 kB / 0.8974 GB, free: 1.445 MB / 0.8542 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.0001164/0.02029, allocations: 111 kB / 0.8975 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.02055, allocations: 266.2 kB / 0.8977 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02055, allocations: 4.062 kB / 0.8977 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.02059, allocations: 27.61 kB / 0.8977 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.02079, allocations: 15.98 kB / 0.8978 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.0211, allocations: 246.5 kB / 0.898 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.02113, allocations: 67.34 kB / 0.8981 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.02116, allocations: 12.97 kB / 0.8981 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.02128, allocations: 106.2 kB / 0.8982 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.02128, allocations: 3.938 kB / 0.8982 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of Templates: time 0.01168/0.03296, allocations: 2.233 MB / 0.9004 GB, free: 14.3 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269353439100087]