Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.00173/0.00173, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.002245/0.002245, allocations: 192.7 kB / 22.17 MB, free: 5.656 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.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 68.08 kB / 1.109 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.929, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001924/0.9309, allocations: 0.6136 MB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.932, allocations: 0.8117 MB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.932, allocations: 4 kB / 1.275 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.9321, allocations: 3.938 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.9321, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.9323, allocations: 7.922 kB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.9323, allocations: 19.94 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.9324, allocations: 4 kB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.9325, allocations: 15.97 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.9325, allocations: 7.938 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.9326, allocations: 4 kB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.9326, allocations: 0 / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.9326, allocations: 3.984 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.9326, allocations: 7.938 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.031e-05/0.9327, allocations: 11.98 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9327, allocations: 0 / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9327, allocations: 3.938 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9327, allocations: 0 / 1.276 GB, free: 2.992 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004752/0.9332, allocations: 342.1 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.9332, allocations: 8.031 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.9332, allocations: 12.88 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.9334, allocations: 164.4 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.9334, allocations: 4.312 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.9334, allocations: 384 / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.9336, allocations: 38.25 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.9336, allocations: 192 / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.9336, allocations: 3.938 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.9336, allocations: 4 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.9336, allocations: 15.98 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.9338, allocations: 153.7 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.9339, allocations: 22.52 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.934, allocations: 16.91 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.934, allocations: 0 / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.934, allocations: 38.56 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.934, allocations: 0 / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002233/0.9342, allocations: 57.61 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.9343, allocations: 51.41 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.9344, allocations: 97.86 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.9344, allocations: 25.7 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.9345, allocations: 84.27 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.9345, allocations: 7.953 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.9345, allocations: 17.64 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9347, allocations: 318.8 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.9347, allocations: 4 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.9347, allocations: 7.984 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.9348, allocations: 20.84 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9348, allocations: 4.062 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.9349, allocations: 41.69 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9349, allocations: 8 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.9349, allocations: 3.938 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.935, allocations: 0 / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.935, allocations: 8 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.935, allocations: 7.922 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.9351, allocations: 3.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.9351, allocations: 256 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.143e-05/0.9352, allocations: 114.4 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.9352, allocations: 0 / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.9352, allocations: 7.062 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9352, allocations: 7.938 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.9352, allocations: 0 / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9352, allocations: 3.984 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.9353, allocations: 157.7 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9353, allocations: 0 / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.9354, allocations: 4 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9354, allocations: 4 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9354, allocations: 3.938 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9354, allocations: 0 / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9354, allocations: 4 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.9355, allocations: 73.06 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.9356, allocations: 77.11 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.9356, allocations: 3.938 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.9356, allocations: 11.97 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.9356, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.9357, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.9357, allocations: 87.27 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.9357, allocations: 0 / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001746/0.9359, allocations: 4 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001504/0.936, allocations: 95.25 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.9362, allocations: 23.98 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9362, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.9362, allocations: 7.984 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.9363, allocations: 7.938 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.9367, allocations: 133.2 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.937, allocations: 0.6729 MB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.937, allocations: 4.125 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.937, allocations: 7.438 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.937, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.002455/0.9395, allocations: 291.7 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 8.858509107027203]