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.001008/0.001008, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.001127/0.001127, allocations: 169 kB / 23.5 MB, free: 1.039 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.08/2.08, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 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 3.236e-06/3.236e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.224e-05, allocations: 4.281 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.004951/0.004983, allocations: 0.7148 MB / 0.8789 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.006726, allocations: 1.298 MB / 0.8802 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.006797, allocations: 5.594 kB / 0.8802 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.006915, allocations: 16.45 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.00697, allocations: 19.86 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.01087, allocations: 229.8 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.01126, allocations: 259.6 kB / 0.8807 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.01141, allocations: 19.98 kB / 0.8807 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.01163, allocations: 135.8 kB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.0118, allocations: 77.09 kB / 0.8809 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.01184, allocations: 20 kB / 0.8809 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.01196, allocations: 31.97 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.01204, allocations: 39.86 kB / 0.881 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.01214, allocations: 65.47 kB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.01245, allocations: 199.3 kB / 0.8812 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.01246, allocations: 4 kB / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01246, allocations: 0 / 0.8812 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.01247, allocations: 2.344 kB / 0.8812 GB, free: 3.551 MB / 0.8386 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.003635/0.0161, allocations: 0.5267 MB / 0.8817 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.01614, allocations: 8.031 kB / 0.8818 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.01649, allocations: 64.8 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.01692, allocations: 204.5 kB / 0.882 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.01694, allocations: 16.31 kB / 0.882 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.01698, allocations: 16.38 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.01716, allocations: 119 kB / 0.8822 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.01717, allocations: 192 / 0.8822 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.01719, allocations: 4.375 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.0172, allocations: 8.125 kB / 0.8822 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.01726, allocations: 31.91 kB / 0.8822 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.01793, allocations: 0.7697 MB / 0.8829 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.01799, allocations: 50.19 kB / 0.883 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.01802, allocations: 27.42 kB / 0.883 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.01803, allocations: 0 / 0.883 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.01817, allocations: 96.34 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.01817, allocations: 0 / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000243/0.01841, allocations: 109.4 kB / 0.8832 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.01846, allocations: 85.11 kB / 0.8833 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.01863, allocations: 224.2 kB / 0.8835 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.01866, allocations: 29.7 kB / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.01875, allocations: 170.7 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.01876, allocations: 11.94 kB / 0.8837 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.01886, allocations: 63.34 kB / 0.8838 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.003153/0.02201, allocations: 0.4923 MB / 0.8843 GB, free: 184 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.02216, allocations: 111.4 kB / 0.8844 GB, free: 60 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.02237, allocations: 255.6 kB / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.02257, allocations: 196.8 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02257, allocations: 0 / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004382/0.02301, allocations: 336.5 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.02306, allocations: 67.64 kB / 0.8852 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.02307, allocations: 4 kB / 0.8852 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.02309, allocations: 7.938 kB / 0.8852 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.02311, allocations: 11.92 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02312, allocations: 0 / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.02333, allocations: 47.84 kB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.02336, allocations: 19.98 kB / 0.8853 GB, free: 14.98 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,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.0001142/0.02348, allocations: 168.5 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.0235, allocations: 15.95 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.02354, allocations: 12.33 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02355, allocations: 7.938 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.02355, allocations: 0 / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02355, allocations: 0 / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.02369, allocations: 152.6 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.02369, allocations: 4 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.0237, allocations: 3.984 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0237, allocations: 0 / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.02371, allocations: 4 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02371, allocations: 4 kB / 0.8856 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.02372, allocations: 3.938 kB / 0.8856 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.02387, allocations: 128 kB / 0.8858 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.02388, allocations: 11.91 kB / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.0239, allocations: 0 / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.02392, allocations: 4 kB / 0.8858 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.02396, allocations: 7.922 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.02396, allocations: 4 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.02405, allocations: 159.3 kB / 0.8859 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02405, allocations: 0 / 0.8859 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002739/0.02433, allocations: 39.89 kB / 0.886 GB, free: 14.18 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.0001626/0.02449, allocations: 107.2 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003363/0.02785, allocations: 277.7 kB / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02785, allocations: 0 / 0.8863 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.0279, allocations: 23.67 kB / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.02815, allocations: 30.86 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.0286, allocations: 250.4 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.02865, allocations: 67.34 kB / 0.8867 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.02869, allocations: 8.969 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.02872, allocations: 16.5 kB / 0.8867 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/0.02872, allocations: 3.938 kB / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01103/0.03975, allocations: 2.093 MB / 0.8888 GB, free: 11.27 MB / 0.8542 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.491352661978453]