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.001358/0.001358, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001519/0.001519, allocations: 173 kB / 23.02 MB, free: 1.551 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.9414/0.9414, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.082/2.082, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.757e-06/3.757e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.244e-05, allocations: 6.266 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002273/0.002315, allocations: 0.7252 MB / 0.8789 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.004357, allocations: 1.302 MB / 0.8802 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.004434, allocations: 3.938 kB / 0.8802 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004581, allocations: 5.828 kB / 0.8802 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.004666, allocations: 29.2 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00094/0.005606, allocations: 233.5 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.006021, allocations: 251.5 kB / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.006201, allocations: 19.98 kB / 0.8807 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.006471, allocations: 144.4 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.006687, allocations: 69.48 kB / 0.8809 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.006738, allocations: 16 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.006864, allocations: 32.86 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.006957, allocations: 39.89 kB / 0.881 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.007067, allocations: 63.83 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.007423, allocations: 176.5 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.007428, allocations: 0 / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.525e-06/0.007431, allocations: 0.9688 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.007439, allocations: 3.938 kB / 0.8812 GB, free: 3.246 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.0008387/0.008278, allocations: 0.5278 MB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.008337, allocations: 8.031 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.008787, allocations: 64.8 kB / 0.8818 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.009103, allocations: 173.4 kB / 0.8819 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.009136, allocations: 16.36 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.009175, allocations: 16.38 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.009417, allocations: 114.2 kB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.00943, allocations: 4.125 kB / 0.8821 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.00945, allocations: 11.89 kB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.009461, allocations: 4.375 kB / 0.8821 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.009531, allocations: 31.86 kB / 0.8821 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.01033, allocations: 0.7658 MB / 0.8829 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.01044, allocations: 62.11 kB / 0.8829 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.01047, allocations: 15.38 kB / 0.883 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.01048, allocations: 4.062 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01068, allocations: 101 kB / 0.8831 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.01068, allocations: 0.5938 kB / 0.8831 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003659/0.01105, allocations: 103 kB / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.01112, allocations: 81.05 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01133, allocations: 229.8 kB / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.01137, allocations: 33.7 kB / 0.8835 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.0115, allocations: 166.7 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.01152, allocations: 19.88 kB / 0.8837 GB, free: 480 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01163, allocations: 63.34 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01183, allocations: 0.4923 MB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.012, allocations: 111.4 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.01222, allocations: 263.6 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.01245, allocations: 188.8 kB / 0.8847 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.01245, allocations: 0 / 0.8847 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004601/0.01291, allocations: 336.5 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.01299, allocations: 67.39 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.013, allocations: 4 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01302, allocations: 0 / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/0.01305, allocations: 11.88 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.01306, allocations: 7.984 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.01331, allocations: 43.42 kB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.01335, allocations: 19.98 kB / 0.8852 GB, free: 14.7 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.0001359/0.01348, allocations: 168.5 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.01351, allocations: 11.95 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.01357, allocations: 16.33 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01357, allocations: 0 / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.01358, allocations: 3.938 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.01358, allocations: 4 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.01375, allocations: 164.5 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01375, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.01376, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01377, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01378, allocations: 4 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01378, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01379, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.01399, allocations: 131.9 kB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.01401, allocations: 11.91 kB / 0.8857 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01403, allocations: 4 kB / 0.8857 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.01406, allocations: 7.984 kB / 0.8857 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.01411, allocations: 11.94 kB / 0.8857 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.01412, allocations: 64 / 0.8857 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.01421, allocations: 151.2 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01421, allocations: 0 / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002871/0.01449, allocations: 35.95 kB / 0.8859 GB, free: 13.91 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.0001974/0.01469, allocations: 111.2 kB / 0.886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.01505, allocations: 286 kB / 0.8863 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01505, allocations: 4.188 kB / 0.8863 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.01509, allocations: 23.67 kB / 0.8863 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01538, allocations: 22.05 kB / 0.8863 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.01589, allocations: 246.5 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.49e-05/0.01594, allocations: 75.27 kB / 0.8866 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.01599, allocations: 8.984 kB / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.01602, allocations: 20.48 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/0.01602, allocations: 0 / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.005575/0.0216, allocations: 2.242 MB / 0.8889 GB, free: 10.84 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.476879716850817]