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.00159/0.00159, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001624/0.001624, allocations: 166.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.521/1.521, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 4.729e-06/4.729e-06, allocations: 0 / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.708e-05/5.181e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002929/0.002981, allocations: 0.6153 MB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.004623, allocations: 0.847 MB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.004667, allocations: 0 / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.004702, allocations: 0 / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.877e-05/0.004771, allocations: 0 / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.005006, allocations: 11.94 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.005094, allocations: 23.86 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.005155, allocations: 0 / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.00535, allocations: 19.97 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.005412, allocations: 8 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.00543, allocations: 0 / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.005484, allocations: 11.92 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.005498, allocations: 4 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.005524, allocations: 11.88 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.005639, allocations: 15.97 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005643, allocations: 0 / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005644, allocations: 4 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.005648, allocations: 0 / 0.983 GB, free: 10.35 MB / 0.9356 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.000471/0.006119, allocations: 250.4 kB / 0.9832 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.006164, allocations: 12.03 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.006332, allocations: 16.88 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.006455, allocations: 113.7 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.00647, allocations: 4.312 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.006482, allocations: 384 / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.006613, allocations: 42.23 kB / 0.9834 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.006621, allocations: 192 / 0.9834 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.00663, allocations: 4.375 kB / 0.9834 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.006635, allocations: 384 / 0.9834 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.26e-05/0.006708, allocations: 23.92 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.006883, allocations: 101.4 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.006966, allocations: 22.56 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.007013, allocations: 16.86 kB / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.007031, allocations: 0 / 0.9836 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.007068, allocations: 38.55 kB / 0.9836 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.007069, allocations: 0 / 0.9836 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002289/0.007298, allocations: 49.69 kB / 0.9837 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.007356, allocations: 55.53 kB / 0.9837 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.007455, allocations: 105.8 kB / 0.9838 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007473, allocations: 29.64 kB / 0.9839 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.007522, allocations: 84.14 kB / 0.9839 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.00755, allocations: 3.953 kB / 0.9839 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.007583, allocations: 9.719 kB / 0.9839 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.007724, allocations: 322.8 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.007762, allocations: 7.938 kB / 0.9843 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.00779, allocations: 4 kB / 0.9843 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.495e-05/0.007874, allocations: 24.91 kB / 0.9843 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007876, allocations: 0 / 0.9843 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001199/0.007996, allocations: 49.67 kB / 0.9843 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.00801, allocations: 4 kB / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.008014, allocations: 0 / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008028, allocations: 0 / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.008097, allocations: 4 kB / 0.9843 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.008103, allocations: 0 / 0.9843 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.008136, allocations: 7.969 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.008146, allocations: 15.92 kB / 0.9844 GB, free: 8.781 MB / 0.9356 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.017e-05/0.008226, allocations: 109.8 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.008235, allocations: 0 / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.008256, allocations: 7.156 kB / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008257, allocations: 0 / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008261, allocations: 0 / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008266, allocations: 3.938 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.358e-05/0.008359, allocations: 105.3 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.00836, allocations: 0 / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.008396, allocations: 4 kB / 0.9846 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008398, allocations: 4 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.008404, allocations: 0 / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008406, allocations: 0 / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008407, allocations: 256 / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008549, allocations: 81 kB / 0.9847 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.008557, allocations: 4 kB / 0.9847 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008572, allocations: 4 kB / 0.9847 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.869e-05/0.008601, allocations: 4 kB / 0.9847 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.008643, allocations: 3.938 kB / 0.9847 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.008648, allocations: 8.016 kB / 0.9847 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.008697, allocations: 87.22 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008697, allocations: 0 / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00019/0.008887, allocations: 7.938 kB / 0.9848 GB, free: 8.297 MB / 0.9356 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.0001295/0.009016, allocations: 91.78 kB / 0.9849 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.00914, allocations: 15.98 kB / 0.9849 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009141, allocations: 0 / 0.9849 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.009195, allocations: 16.05 kB / 0.9849 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.009355, allocations: 4 kB / 0.9849 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.009666, allocations: 100.8 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.009716, allocations: 59.36 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.00974, allocations: 0 / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.009768, allocations: 8.5 kB / 0.9851 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.009768, allocations: 0 / 0.9851 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of Templates: time 0.002951/0.01272, allocations: 299.9 kB / 0.9854 GB, free: 7.66 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.184929210692644]