Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.000879/0.000879, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.002022, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007173/0.0007173, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009276/0.001645, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9666/0.9666, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09366/1.06, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.844/1.844, allocations: 378.2 MB / 0.6076 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4954/2.34, allocations: 123.3 MB / 0.728 GB, free: 5.863 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.408e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001978/0.002002, allocations: 0.718 MB / 0.7301 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.002911, allocations: 0.8727 MB / 0.731 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.002937, allocations: 0.7188 kB / 0.731 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.002961, allocations: 7.938 kB / 0.731 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.002992, allocations: 1.844 kB / 0.731 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.735e-05/0.003079, allocations: 17.31 kB / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.003152, allocations: 25.03 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.00323, allocations: 14.62 kB / 0.731 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.003309, allocations: 17.73 kB / 0.731 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.00335, allocations: 8.766 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003363, allocations: 0 / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.003429, allocations: 8 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.003439, allocations: 1.531 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.003456, allocations: 5.641 kB / 0.7311 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.003553, allocations: 18.67 kB / 0.7311 GB, free: 2.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.003569, allocations: 0 / 0.7311 GB, free: 2.812 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003569, allocations: 0 / 0.7311 GB, free: 2.812 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.003588, allocations: 0.6562 kB / 0.7311 GB, free: 2.812 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003851/0.003973, allocations: 242 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.004007, allocations: 8.031 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.004142, allocations: 82.05 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.004228, allocations: 114.4 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004237, allocations: 1.141 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.004245, allocations: 6.078 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.004354, allocations: 58.89 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004362, allocations: 192 / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.004369, allocations: 384 / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004375, allocations: 384 / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.0044, allocations: 9 kB / 0.7316 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.004605, allocations: 141.1 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.004652, allocations: 23.08 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.00467, allocations: 18.72 kB / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.004689, allocations: 0 / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.004712, allocations: 30.56 kB / 0.7318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004713, allocations: 4 kB / 0.7318 GB, free: 1.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.004832, allocations: 34.61 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.004866, allocations: 59.89 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.004922, allocations: 103.3 kB / 0.732 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.004932, allocations: 25.7 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.004962, allocations: 81.2 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.00498, allocations: 11.89 kB / 0.7321 GB, free: 1.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.00501, allocations: 22.52 kB / 0.7321 GB, free: 1.609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.005088, allocations: 315.6 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.005096, allocations: 0 / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.005105, allocations: 4.516 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.005133, allocations: 17.8 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005135, allocations: 0 / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.076e-05/0.005186, allocations: 35.06 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005199, allocations: 8 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005203, allocations: 0.9844 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.005212, allocations: 1.438 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.005285, allocations: 11.88 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005288, allocations: 0 / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.005308, allocations: 4.656 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.005312, allocations: 0 / 0.7325 GB, free: 1.207 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 5.186e-05/0.005364, allocations: 111.7 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.005383, allocations: 4 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.005456, allocations: 41 kB / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005458, allocations: 0.9844 kB / 0.7326 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.005461, allocations: 8.969 kB / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005464, allocations: 0 / 0.7326 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.005565, allocations: 65.89 kB / 0.7327 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.005568, allocations: 4.641 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.0056, allocations: 4.875 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.005609, allocations: 7.953 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00561, allocations: 0 / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.005617, allocations: 0.75 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.005618, allocations: 0.7656 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.005621, allocations: 12.55 kB / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.005695, allocations: 128.8 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.005704, allocations: 0 / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.005755, allocations: 11.98 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.005783, allocations: 4.609 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.005785, allocations: 0.7188 kB / 0.7329 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.186e-05/0.005797, allocations: 13.45 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005797, allocations: 0.5312 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001893/0.005987, allocations: 4 kB / 0.7329 GB, free: 0.7422 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 7.609e-05/0.006063, allocations: 81.44 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.826e-05/0.006121, allocations: 13.83 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.006126, allocations: 4 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.00614, allocations: 6.047 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.006321, allocations: 17.22 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.007078, allocations: 119 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007112, allocations: 51.36 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.007134, allocations: 4.75 kB / 0.7332 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.007178, allocations: 51.38 kB / 0.7332 GB, free: 356 kB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.007179, allocations: 0.625 kB / 0.7332 GB, free: 356 kB / 0.698 GB Notification: Performance of Templates: time 0.002246/0.009425, allocations: 463.9 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.ref.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: 4.820719441398978]