Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.746/2.746, allocations: 437.1 MB / 0.7177 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_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.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002735/0.318, allocations: 1.02 MB / 1.177 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3202, allocations: 1.327 MB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3203, allocations: 4 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.3205, allocations: 19.73 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3207, allocations: 39.64 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.3217, allocations: 277.3 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000632/0.3223, allocations: 399.2 kB / 1.179 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3225, allocations: 65.59 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.3229, allocations: 159.6 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.3231, allocations: 139.5 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.3232, allocations: 32 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3234, allocations: 51.98 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3235, allocations: 59.78 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3237, allocations: 139.3 kB / 1.179 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.3242, allocations: 398.6 kB / 1.18 GB, free: 1.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3242, allocations: 4 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3242, allocations: 0 / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.3243, allocations: 0 / 1.18 GB, free: 1.77 MB / 0.92 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.001163/0.3254, allocations: 0.6264 MB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3255, allocations: 15.91 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3256, allocations: 28.8 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.3266, allocations: 367 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.3266, allocations: 20.38 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.3267, allocations: 24.36 kB / 1.181 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.3272, allocations: 207.4 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3272, allocations: 3.938 kB / 1.181 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.3273, allocations: 4 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3273, allocations: 4 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.3278, allocations: 147.7 kB / 1.181 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3291, allocations: 0.907 MB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3294, allocations: 157 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.3297, allocations: 80.23 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3297, allocations: 4 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.3302, allocations: 171.5 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 4.418e-06/0.3302, allocations: 0 / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.000932/0.3312, allocations: 261.5 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.3313, allocations: 166.2 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3316, allocations: 217 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.3316, allocations: 37.7 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3318, allocations: 152.3 kB / 1.183 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.3318, allocations: 35.8 kB / 1.183 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.332, allocations: 53.69 kB / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3322, allocations: 342.8 kB / 1.184 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3325, allocations: 99.91 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.3329, allocations: 173.4 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.3336, allocations: 270.9 kB / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3336, allocations: 0 / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009171/0.3345, allocations: 368.6 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.3346, allocations: 71.39 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3346, allocations: 0 / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3346, allocations: 8.219 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.3348, allocations: 27.91 kB / 1.185 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3348, allocations: 8 kB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.3353, allocations: 91.78 kB / 1.185 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3354, allocations: 11.98 kB / 1.185 GB, free: 12.23 MB / 0.9356 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.0001988/0.3356, allocations: 163.7 kB / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3356, allocations: 20.33 kB / 1.185 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.3357, allocations: 25.23 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3357, allocations: 0 / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.3357, allocations: 4 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3358, allocations: 3.984 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.336, allocations: 257.5 kB / 1.185 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.336, allocations: 0 / 1.185 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3362, allocations: 31.97 kB / 1.185 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3362, allocations: 0 / 1.185 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3362, allocations: 4 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3362, allocations: 0 / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.3362, allocations: 4 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.3368, allocations: 244.1 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.3369, allocations: 93.02 kB / 1.186 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3369, allocations: 0 / 1.186 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3371, allocations: 27.97 kB / 1.186 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.3372, allocations: 15.98 kB / 1.186 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3372, allocations: 4 kB / 1.186 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001555/0.3373, allocations: 164.3 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3373, allocations: 3.938 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003144/0.3377, allocations: 59.88 kB / 1.186 GB, free: 11.01 MB / 0.9356 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.0001967/0.3379, allocations: 115.2 kB / 1.186 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.3387, allocations: 334.5 kB / 1.186 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3387, allocations: 448 / 1.186 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.339, allocations: 91.88 kB / 1.186 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3394, allocations: 42.62 kB / 1.186 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.3402, allocations: 429.1 kB / 1.187 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3406, allocations: 0.7476 MB / 1.188 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.3406, allocations: 23.42 kB / 1.188 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3406, allocations: 0 / 1.188 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.00608/0.3467, allocations: 3.149 MB / 1.191 GB, free: 6.035 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.057739312993363]