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.001394/0.001394, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001643/0.001643, allocations: 169 kB / 23.27 MB, free: 1.219 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.017/1.017, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.361/2.361, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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 2.535e-06/2.535e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.201e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002531/0.002563, allocations: 0.9843 MB / 0.8907 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.004863, allocations: 1.373 MB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.004988, allocations: 7.938 kB / 0.8921 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.005148, allocations: 15.75 kB / 0.8921 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.005281, allocations: 55.56 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.006138, allocations: 263.4 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.006624, allocations: 383.2 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.006796, allocations: 53.7 kB / 0.8928 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.007152, allocations: 227.6 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.007366, allocations: 95.75 kB / 0.8931 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.007424, allocations: 28 kB / 0.8931 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.00757, allocations: 47.97 kB / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.00766, allocations: 55.83 kB / 0.8932 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.007781, allocations: 87.75 kB / 0.8933 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.008175, allocations: 259.1 kB / 0.8936 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.008181, allocations: 4 kB / 0.8936 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.544e-06/0.008184, allocations: 0 / 0.8936 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.008189, allocations: 0 / 0.8936 GB, free: 5.836 MB / 0.8542 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.0009371/0.009126, allocations: 0.6275 MB / 0.8942 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.00918, allocations: 16.62 kB / 0.8942 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.009498, allocations: 68.77 kB / 0.8943 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.009812, allocations: 227.6 kB / 0.8945 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.009847, allocations: 24.38 kB / 0.8945 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.009888, allocations: 24.36 kB / 0.8945 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.01019, allocations: 169.2 kB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01021, allocations: 8.188 kB / 0.8947 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.01022, allocations: 8.359 kB / 0.8947 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01023, allocations: 4.375 kB / 0.8947 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.01032, allocations: 39.84 kB / 0.8947 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.01122, allocations: 0.9682 MB / 0.8957 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01139, allocations: 151.4 kB / 0.8958 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.01145, allocations: 46.5 kB / 0.8959 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.01146, allocations: 12 kB / 0.8959 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.01167, allocations: 139.4 kB / 0.896 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.01167, allocations: 0 / 0.896 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003164/0.01199, allocations: 141.2 kB / 0.8962 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.01207, allocations: 162.2 kB / 0.8963 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.01227, allocations: 264.2 kB / 0.8966 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.0123, allocations: 34.08 kB / 0.8966 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01243, allocations: 203.1 kB / 0.8968 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.01247, allocations: 39.72 kB / 0.8968 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01257, allocations: 59.33 kB / 0.8969 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.01276, allocations: 0.504 MB / 0.8974 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01291, allocations: 99.38 kB / 0.8975 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.01312, allocations: 267.2 kB / 0.8977 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.01333, allocations: 204.5 kB / 0.8979 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01333, allocations: 0 / 0.8979 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004628/0.0138, allocations: 340.1 kB / 0.8982 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.01386, allocations: 71.39 kB / 0.8983 GB, free: 440 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.01387, allocations: 3.938 kB / 0.8983 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.01389, allocations: 8.219 kB / 0.8983 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01401, allocations: 27.92 kB / 0.8983 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.01401, allocations: 0 / 0.8983 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.01425, allocations: 55.84 kB / 0.8984 GB, free: 344 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.01428, allocations: 15.98 kB / 0.8984 GB, free: 328 kB / 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.0001361/0.01441, allocations: 166.8 kB / 0.8986 GB, free: 152 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.01445, allocations: 31.84 kB / 0.8986 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.01451, allocations: 29.27 kB / 0.8986 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01452, allocations: 4 kB / 0.8986 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01452, allocations: 0 / 0.8986 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01453, allocations: 0 / 0.8986 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.01474, allocations: 153.1 kB / 0.8988 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.01474, allocations: 4 kB / 0.8988 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.01482, allocations: 19.98 kB / 0.8988 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.01483, allocations: 4 kB / 0.8988 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01483, allocations: 0 / 0.8988 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-06/0.01484, allocations: 11.98 kB / 0.8988 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.01485, allocations: 3.938 kB / 0.8988 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01508, allocations: 171.4 kB / 0.899 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.01511, allocations: 27.84 kB / 0.899 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.01513, allocations: 3.984 kB / 0.899 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.0152, allocations: 8 kB / 0.899 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.01526, allocations: 27.89 kB / 0.8991 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01527, allocations: 4 kB / 0.8991 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001104/0.01538, allocations: 181.1 kB / 0.8992 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.01538, allocations: 4 kB / 0.8992 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003233/0.01571, allocations: 55.83 kB / 0.8993 GB, free: 15.34 MB / 0.8698 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.0001674/0.01587, allocations: 115.2 kB / 0.8994 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.0162, allocations: 289.7 kB / 0.8997 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.0162, allocations: 0 / 0.8997 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.01627, allocations: 32.11 kB / 0.8997 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01661, allocations: 60.52 kB / 0.8998 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.0172, allocations: 384.1 kB / 0.9001 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.01727, allocations: 87.97 kB / 0.9002 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.513e-05/0.01735, allocations: 21.64 kB / 0.9002 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.01755, allocations: 134.1 kB / 0.9004 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/0.01755, allocations: 0 / 0.9004 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of Templates: time 0.007615/0.02516, allocations: 3.589 MB / 0.9039 GB, free: 10.61 MB / 0.8698 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.406480043660849]