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.0009664/0.0009664, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009798/0.0009798, allocations: 165 kB / 24.17 MB, free: 328 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.996/0.996, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",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.[0-9,]+.|extBooSig.y.[0-9,]+.|extBooSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.181e-05, allocations: 3.125 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001195/0.001207, allocations: 0.7288 MB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002434, allocations: 1.303 MB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.002477, allocations: 3.938 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.807e-05/0.002575, allocations: 16.73 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.002619, allocations: 13.61 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.003097, allocations: 237.8 kB / 0.7623 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.003326, allocations: 245.9 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.003412, allocations: 31.94 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.003553, allocations: 143.8 kB / 0.7627 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.00367, allocations: 69.08 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.003696, allocations: 17.25 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.003765, allocations: 35.97 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.003807, allocations: 31.86 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.003865, allocations: 60.52 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.004036, allocations: 187.3 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004038, allocations: 0.5625 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004039, allocations: 1.594 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004042, allocations: 0 / 0.763 GB, free: 3.594 MB / 0.7136 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.0003909/0.004433, allocations: 407.7 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.004466, allocations: 8.031 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.004681, allocations: 41.92 kB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.004843, allocations: 163 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.004858, allocations: 13.69 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.004883, allocations: 16.38 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.004979, allocations: 105.5 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004986, allocations: 192 / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.004995, allocations: 5.125 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.005, allocations: 384 / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.005026, allocations: 32.61 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.005343, allocations: 481.3 kB / 0.7643 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.005383, allocations: 41.16 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.005396, allocations: 16.03 kB / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-06/0.005399, allocations: 0 / 0.7643 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.458e-05/0.005483, allocations: 96.95 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 5.71e-07/0.005484, allocations: 0 / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001109/0.005595, allocations: 79.39 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.005629, allocations: 77.11 kB / 0.7646 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.005716, allocations: 169.6 kB / 0.7647 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.005737, allocations: 29.7 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.005789, allocations: 120 kB / 0.7649 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.0058, allocations: 18.95 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.005858, allocations: 53.67 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.005933, allocations: 330.8 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.006001, allocations: 95.38 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.006106, allocations: 211.3 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.006204, allocations: 168.8 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006206, allocations: 0 / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001833/0.00639, allocations: 265.8 kB / 0.766 GB, free: 292 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.006428, allocations: 69.42 kB / 0.766 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006433, allocations: 4 kB / 0.766 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006446, allocations: 0 / 0.766 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.404e-05/0.00646, allocations: 17.2 kB / 0.766 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006465, allocations: 4 kB / 0.766 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.006607, allocations: 44.42 kB / 0.7661 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.006624, allocations: 12.83 kB / 0.7661 GB, free: 132 kB / 0.7136 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.571e-05/0.00671, allocations: 125.4 kB / 0.7662 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.006721, allocations: 11.98 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.006747, allocations: 12.88 kB / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.006749, allocations: 3.031 kB / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.006751, allocations: 0 / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.006755, allocations: 3.938 kB / 0.7662 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.183e-05/0.006827, allocations: 93.83 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.006829, allocations: 4 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-06/0.006832, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.006833, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.006837, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006838, allocations: 7.125 kB / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006839, allocations: 0 / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.699e-05/0.006906, allocations: 97.83 kB / 0.7664 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.006918, allocations: 16.22 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.006926, allocations: 0 / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.199e-05/0.006938, allocations: 0 / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.006959, allocations: 11.98 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006962, allocations: 3.984 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.581e-05/0.006988, allocations: 35.23 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006988, allocations: 1.281 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001373/0.007126, allocations: 35.98 kB / 0.7665 GB, free: 15.62 MB / 0.7292 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 8.497e-05/0.00721, allocations: 93.42 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.007387, allocations: 267.6 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.007389, allocations: 0.5938 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.00741, allocations: 25.8 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.677e-05/0.007507, allocations: 16.92 kB / 0.7669 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.007774, allocations: 240 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.007805, allocations: 68.23 kB / 0.7672 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.007832, allocations: 14.31 kB / 0.7672 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.007924, allocations: 83.34 kB / 0.7673 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.007925, allocations: 0 / 0.7673 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.00347/0.01139, allocations: 2.232 MB / 0.7695 GB, free: 12.64 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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","",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.074605285655707]