Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.0011/0.0011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.002996, 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.001128/0.001128, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005072/0.0062, 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 1.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09898/1.138, 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.926/1.926, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5557/2.481, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.87e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002005/0.002033, allocations: 0.6633 MB / 0.73 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003051, allocations: 0.8745 MB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.003086, allocations: 0 / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.003107, allocations: 0 / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.191e-05/0.003139, allocations: 5.625 kB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.308e-05/0.003222, allocations: 17.05 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.003304, allocations: 22.12 kB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.00335, allocations: 4.484 kB / 0.7309 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.003526, allocations: 30.25 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.003582, allocations: 1.641 kB / 0.7309 GB, free: 2.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.003598, allocations: 4 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.003675, allocations: 4.625 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.003687, allocations: 0.9844 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.003706, allocations: 5.875 kB / 0.731 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003829, allocations: 17.52 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.142e-05/0.00385, allocations: 0 / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003851, allocations: 0.6562 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.003875, allocations: 0.7812 kB / 0.731 GB, free: 2.883 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004131/0.004288, allocations: 225.5 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.004329, allocations: 12.66 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.004566, allocations: 86.94 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.00471, allocations: 117.7 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.004724, allocations: 384 / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.004733, allocations: 1.156 kB / 0.7314 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.004864, allocations: 48.27 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.004876, allocations: 0.9531 kB / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004885, allocations: 384 / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.004893, allocations: 384 / 0.7314 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.004919, allocations: 8.469 kB / 0.7314 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.005028, allocations: 58.77 kB / 0.7315 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.005075, allocations: 22.52 kB / 0.7315 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.005092, allocations: 8.844 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.005106, allocations: 0.8594 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.005135, allocations: 39.36 kB / 0.7316 GB, free: 2.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.005136, allocations: 0 / 0.7316 GB, free: 2.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.005258, allocations: 30.2 kB / 0.7316 GB, free: 2.125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.005293, allocations: 52.16 kB / 0.7317 GB, free: 2.062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.005369, allocations: 114.7 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.005382, allocations: 31.23 kB / 0.7318 GB, free: 1.902 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.005413, allocations: 80.69 kB / 0.7319 GB, free: 1.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.005438, allocations: 0 / 0.7319 GB, free: 1.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.005476, allocations: 17.72 kB / 0.7319 GB, free: 1.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.005594, allocations: 319.7 kB / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.005611, allocations: 0 / 0.7322 GB, free: 1.477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.005619, allocations: 6.125 kB / 0.7322 GB, free: 1.473 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.005651, allocations: 4.859 kB / 0.7322 GB, free: 1.465 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.005654, allocations: 4 kB / 0.7322 GB, free: 1.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.732e-05/0.005721, allocations: 31.45 kB / 0.7322 GB, free: 1.426 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.005737, allocations: 7.984 kB / 0.7322 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005742, allocations: 0 / 0.7322 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.005756, allocations: 0 / 0.7322 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.005828, allocations: 9.156 kB / 0.7322 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.005833, allocations: 4.641 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.005852, allocations: 0 / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005857, allocations: 4.656 kB / 0.7323 GB, free: 1.402 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 (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 7.547e-05/0.005933, allocations: 114.9 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.005943, allocations: 3.984 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.005969, allocations: 7.156 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005971, allocations: 1.453 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005973, allocations: 0 / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.005976, allocations: 1.031 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.607e-05/0.006052, allocations: 69.8 kB / 0.7324 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006054, allocations: 0 / 0.7324 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.006085, allocations: 8.516 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.006092, allocations: 1.344 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006095, allocations: 0.7656 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.006099, allocations: 0 / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0061, allocations: 0 / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006102, allocations: 0.5938 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.802e-05/0.00619, allocations: 70.22 kB / 0.7325 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.006199, allocations: 0 / 0.7325 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.006216, allocations: 4 kB / 0.7325 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.006239, allocations: 1.578 kB / 0.7325 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006243, allocations: 256 / 0.7325 GB, free: 1.086 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.006261, allocations: 16.84 kB / 0.7325 GB, free: 1.066 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.006261, allocations: 1.25 kB / 0.7325 GB, free: 1.066 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001621/0.006423, allocations: 4 kB / 0.7326 GB, free: 1.062 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 (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.0001153/0.006539, allocations: 73.17 kB / 0.7326 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.068e-05/0.006609, allocations: 9.609 kB / 0.7326 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.006616, allocations: 5.391 kB / 0.7326 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.006633, allocations: 14.5 kB / 0.7327 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.725e-05/0.00672, allocations: 11.94 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.007575, allocations: 118.4 kB / 0.7328 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.00761, allocations: 55.34 kB / 0.7328 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.007631, allocations: 0 / 0.7328 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.00767, allocations: 52.62 kB / 0.7329 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.007671, allocations: 1.094 kB / 0.7329 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of Templates: time 0.00222/0.009891, allocations: 300.5 kB / 0.7332 GB, free: 400 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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: 5.07267415151]