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.0009259/0.0009259, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0008973/0.0008973, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9973/0.9973, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.812/1.812, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.971e-05, allocations: 11.09 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00152/0.001549, allocations: 0.7115 MB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.002936, allocations: 1.293 MB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.002995, allocations: 7.938 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003109, allocations: 16.42 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.003161, allocations: 20.95 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.003725, allocations: 228.7 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.003963, allocations: 247.6 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004088, allocations: 24.89 kB / 0.79 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.004251, allocations: 143.8 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.00439, allocations: 70.14 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.00442, allocations: 16 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.004503, allocations: 31.98 kB / 0.7903 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.004556, allocations: 35.84 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.004619, allocations: 69.47 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.004818, allocations: 171.4 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.004821, allocations: 7.938 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.004823, allocations: 4 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.004828, allocations: 3.438 kB / 0.7906 GB, free: 9.105 MB / 0.7448 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.0004575/0.005285, allocations: 0.5227 MB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.005324, allocations: 12.03 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.00557, allocations: 52.86 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.005762, allocations: 175 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.005779, allocations: 8.375 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.005802, allocations: 16.38 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005921, allocations: 122.4 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005929, allocations: 192 / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.005938, allocations: 5 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.005948, allocations: 4.969 kB / 0.7915 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.005975, allocations: 27.86 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.006435, allocations: 0.7319 MB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.006485, allocations: 63.23 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.006499, allocations: 19.44 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.006503, allocations: 0.8438 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.644e-05/0.006599, allocations: 104.9 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.0066, allocations: 0 / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001507/0.006751, allocations: 94.73 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.006784, allocations: 77.11 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.006897, allocations: 232.1 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.00692, allocations: 30.45 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.006995, allocations: 174.7 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.007005, allocations: 17.02 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.007071, allocations: 67.31 kB / 0.793 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.007182, allocations: 0.5 MB / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.007262, allocations: 100.9 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.007379, allocations: 243.6 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.007494, allocations: 183.6 kB / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007496, allocations: 0 / 0.794 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002438/0.00774, allocations: 314.8 kB / 0.7943 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.007779, allocations: 67.39 kB / 0.7944 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.007786, allocations: 4 kB / 0.7944 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.007796, allocations: 0 / 0.7944 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.514e-05/0.007811, allocations: 7.938 kB / 0.7944 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.007818, allocations: 12.52 kB / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.007974, allocations: 44.64 kB / 0.7945 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.007991, allocations: 13.2 kB / 0.7945 GB, free: 4.688 MB / 0.7448 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 8.466e-05/0.008075, allocations: 169.1 kB / 0.7946 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.008089, allocations: 11.95 kB / 0.7947 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.00812, allocations: 17.45 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.008121, allocations: 0 / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008123, allocations: 0 / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008127, allocations: 4.906 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.784e-05/0.008215, allocations: 133.1 kB / 0.7948 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008217, allocations: 8.828 kB / 0.7948 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-06/0.008222, allocations: 0 / 0.7948 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008225, allocations: 4 kB / 0.7948 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.00823, allocations: 6.219 kB / 0.7948 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008231, allocations: 0 / 0.7948 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008232, allocations: 0 / 0.7948 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.008334, allocations: 127.9 kB / 0.7949 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.008342, allocations: 7.953 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.008351, allocations: 0 / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.008365, allocations: 2.781 kB / 0.795 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.008388, allocations: 11.98 kB / 0.795 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.008392, allocations: 4 kB / 0.795 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.008442, allocations: 152.8 kB / 0.7951 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008442, allocations: 0 / 0.7951 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001742/0.008616, allocations: 39.89 kB / 0.7952 GB, free: 3.941 MB / 0.7448 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.0001142/0.00873, allocations: 112.6 kB / 0.7953 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.008936, allocations: 270.8 kB / 0.7955 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008938, allocations: 0 / 0.7955 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.008962, allocations: 27.66 kB / 0.7955 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.009122, allocations: 21.55 kB / 0.7956 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.009411, allocations: 244 kB / 0.7958 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.009446, allocations: 67.33 kB / 0.7959 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.009472, allocations: 9.859 kB / 0.7959 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.009574, allocations: 110.2 kB / 0.796 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of SimCode: time 1.292e-06/0.009575, allocations: 1.094 kB / 0.796 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.003807/0.01338, allocations: 2.231 MB / 0.7982 GB, free: 0.8164 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837259686086327]