Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0009449/0.0009449, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.0009897/0.0009897, allocations: 169 kB / 24.06 MB, free: 452 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.9896/0.9896, allocations: 177.1 MB / 204.5 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.272/2.272, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.95e-05, allocations: 6.391 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002242/0.002281, allocations: 0.9814 MB / 0.8804 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.004325, allocations: 1.381 MB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.004461, allocations: 7.938 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.004651, allocations: 23.66 kB / 0.8817 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.004783, allocations: 55.5 kB / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.005594, allocations: 263.4 kB / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.006261, allocations: 387.2 kB / 0.8824 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.006452, allocations: 45.77 kB / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.006759, allocations: 223.6 kB / 0.8827 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.00694, allocations: 97.72 kB / 0.8828 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.006983, allocations: 24 kB / 0.8828 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007101, allocations: 51.91 kB / 0.8828 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.007178, allocations: 52.92 kB / 0.8829 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.007275, allocations: 87.75 kB / 0.883 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.007609, allocations: 260.2 kB / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.007614, allocations: 0 / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007615, allocations: 0 / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.007623, allocations: 1.062 kB / 0.8832 GB, free: 2.09 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000823/0.008446, allocations: 0.632 MB / 0.8838 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.008489, allocations: 12.03 kB / 0.8838 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.008769, allocations: 69.36 kB / 0.8839 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.009054, allocations: 221 kB / 0.8841 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.00909, allocations: 16.38 kB / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.009124, allocations: 24.36 kB / 0.8842 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.00939, allocations: 183.3 kB / 0.8843 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.009402, allocations: 1.562 kB / 0.8843 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.009417, allocations: 4.375 kB / 0.8843 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.009427, allocations: 8.359 kB / 0.8843 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.009495, allocations: 37.19 kB / 0.8844 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.0103, allocations: 0.9765 MB / 0.8853 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01044, allocations: 148.7 kB / 0.8855 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.01048, allocations: 49.91 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.01049, allocations: 7.938 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.01067, allocations: 147.3 kB / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 5.761e-06/0.01068, allocations: 0 / 0.8857 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002773/0.01095, allocations: 138.2 kB / 0.8858 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.01103, allocations: 158.2 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01121, allocations: 264.6 kB / 0.8862 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.01124, allocations: 33.7 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01135, allocations: 203 kB / 0.8864 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.01139, allocations: 39.72 kB / 0.8865 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.01148, allocations: 59.33 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.01163, allocations: 0.5001 MB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01175, allocations: 111.4 kB / 0.8871 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.01192, allocations: 265.8 kB / 0.8874 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.01209, allocations: 208.5 kB / 0.8876 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01209, allocations: 0 / 0.8876 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003412/0.01244, allocations: 336.1 kB / 0.8879 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.01249, allocations: 71.41 kB / 0.888 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.0125, allocations: 12.14 kB / 0.888 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01251, allocations: 4 kB / 0.888 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01261, allocations: 23.92 kB / 0.888 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01262, allocations: 0 / 0.888 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.0128, allocations: 51.89 kB / 0.8881 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01282, allocations: 15.98 kB / 0.8881 GB, free: 12.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001157/0.01294, allocations: 172.5 kB / 0.8882 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.01297, allocations: 23.86 kB / 0.8883 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.01301, allocations: 29.27 kB / 0.8883 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01302, allocations: 4 kB / 0.8883 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01302, allocations: 0 / 0.8883 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01303, allocations: 0 / 0.8883 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.01318, allocations: 153.2 kB / 0.8884 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01318, allocations: 4 kB / 0.8884 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.01324, allocations: 15.98 kB / 0.8884 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01325, allocations: 7.938 kB / 0.8885 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01325, allocations: 8 kB / 0.8885 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.01326, allocations: 11.98 kB / 0.8885 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01327, allocations: 7.875 kB / 0.8885 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.01344, allocations: 167.1 kB / 0.8886 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.01347, allocations: 24.31 kB / 0.8887 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01349, allocations: 7.984 kB / 0.8887 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.01354, allocations: 8 kB / 0.8887 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.0136, allocations: 23.84 kB / 0.8887 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.01361, allocations: 4 kB / 0.8887 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.0137, allocations: 185.1 kB / 0.8889 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.0137, allocations: 0 / 0.8889 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002295/0.01393, allocations: 51.89 kB / 0.8889 GB, free: 11.62 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001704/0.0141, allocations: 115.2 kB / 0.889 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004665/0.01456, allocations: 293.6 kB / 0.8893 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01457, allocations: 0 / 0.8893 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.544e-05/0.01462, allocations: 40.17 kB / 0.8894 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01488, allocations: 48.45 kB / 0.8894 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.0154, allocations: 389.6 kB / 0.8898 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.01546, allocations: 83.97 kB / 0.8899 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.01553, allocations: 21.64 kB / 0.8899 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.01569, allocations: 130.2 kB / 0.89 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.01569, allocations: 0 / 0.89 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006425/0.02212, allocations: 3.674 MB / 0.8936 GB, free: 6.816 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.919392144307494]