Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001772/0.001772, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001546/0.001546, allocations: 190.7 kB / 22.1 MB, free: 4.223 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.582/1.582, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 495.8 MB / 0.783 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264/1.266, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002494/1.268, allocations: 1.352 MB / 1.308 GB, free: 32.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002017/1.27, allocations: 1.55 MB / 1.31 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/1.27, allocations: 10 kB / 1.31 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/1.27, allocations: 35.27 kB / 1.31 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/1.271, allocations: 77.44 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/1.272, allocations: 0.5032 MB / 1.31 GB, free: 31.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006871/1.273, allocations: 0.6452 MB / 1.311 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/1.273, allocations: 123.2 kB / 1.311 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/1.273, allocations: 256.9 kB / 1.311 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/1.274, allocations: 245.5 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/1.274, allocations: 63.5 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/1.274, allocations: 75.61 kB / 1.312 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/1.274, allocations: 84.02 kB / 1.312 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/1.274, allocations: 247.4 kB / 1.312 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006945/1.275, allocations: 0.6849 MB / 1.313 GB, free: 30.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.275, allocations: 2.562 kB / 1.313 GB, free: 30.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/1.275, allocations: 3.938 kB / 1.313 GB, free: 30.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.275, allocations: 4 kB / 1.313 GB, free: 30.28 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001304/1.276, allocations: 0.8778 MB / 1.313 GB, free: 29.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.276, allocations: 9.281 kB / 1.313 GB, free: 29.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/1.276, allocations: 53.19 kB / 1.313 GB, free: 29.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/1.278, allocations: 407.2 kB / 1.314 GB, free: 29.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/1.278, allocations: 26.91 kB / 1.314 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/1.278, allocations: 39.28 kB / 1.314 GB, free: 29.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/1.279, allocations: 326.1 kB / 1.314 GB, free: 29.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.279, allocations: 3.938 kB / 1.314 GB, free: 29.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.279, allocations: 14.86 kB / 1.314 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.279, allocations: 5.281 kB / 1.314 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/1.279, allocations: 261.6 kB / 1.314 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/1.281, allocations: 0.8682 MB / 1.315 GB, free: 28.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/1.281, allocations: 354.9 kB / 1.316 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/1.282, allocations: 261.8 kB / 1.316 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.282, allocations: 2.781 kB / 1.316 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/1.282, allocations: 330.1 kB / 1.316 GB, free: 28.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/1.282, allocations: 0 / 1.316 GB, free: 28.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001431/1.284, allocations: 0.8404 MB / 1.317 GB, free: 27.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/1.284, allocations: 186.1 kB / 1.317 GB, free: 27.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.284, allocations: 293.2 kB / 1.318 GB, free: 27.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/1.284, allocations: 39.2 kB / 1.318 GB, free: 27.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/1.284, allocations: 172.7 kB / 1.318 GB, free: 27.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/1.284, allocations: 137 kB / 1.318 GB, free: 27.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/1.285, allocations: 131.2 kB / 1.318 GB, free: 27.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/1.285, allocations: 347.6 kB / 1.318 GB, free: 26.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/1.285, allocations: 283.8 kB / 1.319 GB, free: 26.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/1.286, allocations: 360.2 kB / 1.319 GB, free: 26.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.287, allocations: 0.8985 MB / 1.32 GB, free: 25.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.287, allocations: 10.92 kB / 1.32 GB, free: 25.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001503/1.288, allocations: 1.009 MB / 1.321 GB, free: 25.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.288, allocations: 255 kB / 1.321 GB, free: 25.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.288, allocations: 10.84 kB / 1.321 GB, free: 25.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.288, allocations: 5.25 kB / 1.321 GB, free: 25.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.289, allocations: 68.42 kB / 1.321 GB, free: 25.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.289, allocations: 5.25 kB / 1.321 GB, free: 25.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/1.29, allocations: 147.1 kB / 1.321 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.29, allocations: 68.3 kB / 1.321 GB, free: 25.05 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002704/1.29, allocations: 318.2 kB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.29, allocations: 43.11 kB / 1.322 GB, free: 24.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/1.29, allocations: 43.56 kB / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.29, allocations: 2.688 kB / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.29, allocations: 0 / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/1.29, allocations: 6.266 kB / 1.322 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/1.292, allocations: 1.156 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.292, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.292, allocations: 68.44 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.292, allocations: 2.938 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/1.292, allocations: 13.36 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.292, allocations: 0 / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.292, allocations: 7.938 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/1.293, allocations: 0.7646 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/1.293, allocations: 35.27 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/1.293, allocations: 13.84 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/1.293, allocations: 32.81 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/1.293, allocations: 42.92 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/1.293, allocations: 43.34 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001608/1.294, allocations: 199.2 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.294, allocations: 2.219 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004277/1.294, allocations: 109.2 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.00017/1.294, allocations: 121.9 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.296, allocations: 1.044 MB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.296, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/1.296, allocations: 0.4902 MB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/1.297, allocations: 93.62 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/1.299, allocations: 0.8 MB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/1.299, allocations: 0.7934 MB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002613/1.299, allocations: 93.47 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.421e-05/1.299, allocations: 35.28 kB / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/1.299, allocations: 0 / 1.328 GB, free: 21.03 MB / 1.061 GB Notification: Performance of Templates: time 0.02076/1.32, allocations: 6.806 MB / 1.334 GB, free: 20.52 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 10.480873798951507]