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.001113/0.001113, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002348, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007315/0.0007315, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009981/0.00173, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9382/0.9382, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08791/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.892/1.892, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5349/2.427, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.593e-06/1.593e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.306e-05, allocations: 4.844 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001405/0.001428, allocations: 0.7312 MB / 0.7304 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000763/0.002191, allocations: 0.8693 MB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.002219, allocations: 4 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.002242, allocations: 5.938 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.002277, allocations: 1.531 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.617e-05/0.002364, allocations: 16.69 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.002433, allocations: 28.19 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.002507, allocations: 13.08 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.002584, allocations: 20.2 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.002627, allocations: 4 kB / 0.7314 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.002644, allocations: 4 kB / 0.7314 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.002701, allocations: 4 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.002716, allocations: 1.641 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.002729, allocations: 8.656 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.143e-05/0.002821, allocations: 18.67 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.002832, allocations: 1.375 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002833, allocations: 0 / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.002843, allocations: 0 / 0.7314 GB, free: 2.672 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.0007577/0.003601, allocations: 238.1 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.003635, allocations: 8.031 kB / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.003761, allocations: 82.73 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.717e-05/0.003838, allocations: 113.7 kB / 0.7318 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.003847, allocations: 6.094 kB / 0.7318 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.003857, allocations: 4.375 kB / 0.7318 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.003951, allocations: 50.89 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003957, allocations: 1.062 kB / 0.7319 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.003964, allocations: 5.188 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003968, allocations: 384 / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.003986, allocations: 3.938 kB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.004175, allocations: 148.8 kB / 0.732 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.004215, allocations: 23.95 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.149e-05/0.004227, allocations: 8.797 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.004241, allocations: 0 / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.004259, allocations: 36.48 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.00426, allocations: 0 / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.762e-05/0.004358, allocations: 38.27 kB / 0.7321 GB, free: 1.809 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.004385, allocations: 56.12 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.004433, allocations: 102.7 kB / 0.7323 GB, free: 1.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004443, allocations: 27.45 kB / 0.7323 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.004472, allocations: 92.12 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.004487, allocations: 7.891 kB / 0.7324 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.004511, allocations: 9.719 kB / 0.7324 GB, free: 1.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.004579, allocations: 320.8 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.004589, allocations: 3.984 kB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.004597, allocations: 9.062 kB / 0.7327 GB, free: 1.148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/0.004616, allocations: 9.391 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004618, allocations: 0 / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.638e-05/0.004654, allocations: 38.81 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.004665, allocations: 4 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.004669, allocations: 0.7188 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.004679, allocations: 0 / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.00474, allocations: 8.469 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.004742, allocations: 4.875 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.004756, allocations: 4 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.00476, allocations: 3.984 kB / 0.7328 GB, free: 1.07 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 4.639e-05/0.004806, allocations: 114.4 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.004816, allocations: 1.609 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.004879, allocations: 38.44 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.004881, allocations: 7.984 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.004883, allocations: 3.938 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004886, allocations: 0 / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.34e-05/0.004959, allocations: 71.27 kB / 0.733 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.00496, allocations: 0 / 0.733 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.004981, allocations: 5.312 kB / 0.733 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.004988, allocations: 7.953 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004989, allocations: 0 / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.004993, allocations: 0.5625 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.004994, allocations: 0 / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.004999, allocations: 13.78 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.967e-05/0.005068, allocations: 131.5 kB / 0.7332 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.005077, allocations: 5.094 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.771e-05/0.005104, allocations: 3.984 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.005137, allocations: 4 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.005139, allocations: 1.25 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.218e-05/0.005151, allocations: 8.797 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005151, allocations: 4.656 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001024/0.005253, allocations: 0 / 0.7332 GB, free: 0.6094 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.129e-05/0.005325, allocations: 81.44 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.337e-05/0.005378, allocations: 23.84 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.005382, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.318e-05/0.005405, allocations: 9.844 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.00555, allocations: 37.67 kB / 0.7334 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.00609, allocations: 118.7 kB / 0.7335 GB, free: 308 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.00612, allocations: 56.34 kB / 0.7335 GB, free: 232 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.501e-05/0.006135, allocations: 0.6562 kB / 0.7335 GB, free: 232 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.006175, allocations: 56.11 kB / 0.7336 GB, free: 176 kB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/0.006176, allocations: 0 / 0.7336 GB, free: 176 kB / 0.698 GB Notification: Performance of Templates: time 0.001766/0.007942, allocations: 466.1 kB / 0.734 GB, free: 15.74 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.835977523587644]