Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001506/0.001506, allocations: 114.9 kB / 17.13 MB, free: 6.047 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.001827/0.001827, allocations: 197.2 kB / 20.08 MB, free: 3.109 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.441/1.441, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.669/2.669, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002053/0.3114, allocations: 0.8692 MB / 1.215 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3131, allocations: 1.3 MB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.3132, allocations: 4 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.3133, allocations: 15.8 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.3134, allocations: 35.73 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.3141, allocations: 271.3 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.3145, allocations: 323.3 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3146, allocations: 53.39 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3148, allocations: 127.7 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.315, allocations: 111.6 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.3151, allocations: 28 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3152, allocations: 51.98 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.3153, allocations: 47.84 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3155, allocations: 127.4 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.3159, allocations: 342.8 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3159, allocations: 3.984 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3159, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3159, allocations: 4 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007698/0.3166, allocations: 0.5524 MB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3167, allocations: 8.031 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.3168, allocations: 28.8 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006704/0.3174, allocations: 308.1 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.3175, allocations: 12.38 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.3175, allocations: 16.38 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.3178, allocations: 145.6 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3178, allocations: 3.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3178, allocations: 12 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3178, allocations: 4 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3179, allocations: 67.89 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.3188, allocations: 0.7508 MB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3189, allocations: 69.17 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.3189, allocations: 21.77 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.3189, allocations: 4 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.3191, allocations: 101 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3191, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003134/0.3194, allocations: 133.8 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3195, allocations: 81.09 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3197, allocations: 211.8 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3198, allocations: 33.7 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3199, allocations: 144.2 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.3199, allocations: 15.91 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.32, allocations: 73.67 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3202, allocations: 326.8 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3203, allocations: 63.95 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3205, allocations: 136.5 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3208, allocations: 194.1 kB / 1.221 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3208, allocations: 4.031 kB / 1.221 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005211/0.3213, allocations: 292.7 kB / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3214, allocations: 71.33 kB / 1.221 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3214, allocations: 0 / 1.221 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3214, allocations: 4 kB / 1.221 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.3214, allocations: 12 kB / 1.221 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.3215, allocations: 11.92 kB / 1.221 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.3219, allocations: 83.75 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3219, allocations: 8 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001579/0.3221, allocations: 148.6 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3221, allocations: 19.89 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.3221, allocations: 12.94 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3222, allocations: 8 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3222, allocations: 0 / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3222, allocations: 0 / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3224, allocations: 237.5 kB / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3224, allocations: 0 / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.3224, allocations: 7.984 kB / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3224, allocations: 0 / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3224, allocations: 7.938 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3224, allocations: 0 / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3224, allocations: 0 / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.3226, allocations: 137.8 kB / 1.222 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.3227, allocations: 92.95 kB / 1.222 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3227, allocations: 3.984 kB / 1.222 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.3227, allocations: 4 kB / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3228, allocations: 8 kB / 1.222 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.3228, allocations: 3.984 kB / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001281/0.3229, allocations: 144.2 kB / 1.222 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3229, allocations: 4 kB / 1.222 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000294/0.3232, allocations: 43.89 kB / 1.222 GB, free: 7.895 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001706/0.3234, allocations: 123.6 kB / 1.222 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.3238, allocations: 230.7 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3238, allocations: 0 / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.3238, allocations: 32.3 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3241, allocations: 47.95 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.3247, allocations: 342.1 kB / 1.223 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3251, allocations: 0.728 MB / 1.224 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3251, allocations: 19.44 kB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3251, allocations: 0 / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of Templates: time 0.005012/0.3301, allocations: 2.591 MB / 1.226 GB, free: 3.73 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.032893828116357]