Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001498/0.001498, allocations: 117.9 kB / 17.13 MB, free: 5.758 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.001615/0.001615, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.89 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001922/0.3119, allocations: 0.6102 MB / 1.215 GB, free: 296 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3131, allocations: 0.8158 MB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.3131, allocations: 0 / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.3131, allocations: 3.938 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.3132, allocations: 0 / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3133, allocations: 15.92 kB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.3134, allocations: 23.86 kB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.739e-05/0.3134, allocations: 0 / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.3135, allocations: 7.984 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.3136, allocations: 15.94 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3136, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.3136, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.3136, allocations: 7.984 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.3137, allocations: 4 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.411e-05/0.3137, allocations: 15.91 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3137, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3137, allocations: 0 / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3138, allocations: 0 / 1.216 GB, free: 15.37 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.0004825/0.3142, allocations: 339.4 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3143, allocations: 8.031 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3143, allocations: 12.81 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3145, allocations: 168.3 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3145, allocations: 384 / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.3145, allocations: 384 / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3146, allocations: 38.25 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3146, allocations: 192 / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3147, allocations: 7.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3147, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3147, allocations: 19.98 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.3149, allocations: 149.7 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.315, allocations: 30.55 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3151, allocations: 12.91 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3151, allocations: 3.938 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3151, allocations: 34.56 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3151, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002533/0.3154, allocations: 57.61 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.3154, allocations: 51.41 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.3155, allocations: 101.9 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3155, allocations: 25.7 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.3156, allocations: 80.14 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3156, allocations: 12.02 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.3157, allocations: 21.7 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3158, allocations: 310.8 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.3158, allocations: 4 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.3159, allocations: 11.98 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.316, allocations: 16.84 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.316, allocations: 4 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001156/0.3161, allocations: 49.75 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3161, allocations: 5.875 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3161, allocations: 3.938 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3161, allocations: 0 / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.3162, allocations: 4 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3162, allocations: 7.922 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.3162, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3162, allocations: 4 kB / 1.217 GB, free: 13.58 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.427e-05/0.3163, allocations: 109.9 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.3163, allocations: 0 / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.3164, allocations: 15.06 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3164, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3164, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.3164, allocations: 0 / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3165, allocations: 153.7 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3165, allocations: 3.938 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.3165, allocations: 4 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3166, allocations: 0 / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3166, allocations: 7.938 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3166, allocations: 256 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3166, allocations: 3.938 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3167, allocations: 77.06 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.3168, allocations: 85.11 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3168, allocations: 7.875 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.3168, allocations: 4.031 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3168, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3169, allocations: 4 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.3169, allocations: 83.27 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3169, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001774/0.3171, allocations: 0 / 1.218 GB, free: 12.93 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.000142/0.3172, allocations: 99.25 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3174, allocations: 19.98 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3174, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.3174, allocations: 11.98 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3176, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.3179, allocations: 144.1 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3183, allocations: 0.6768 MB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.3183, allocations: 11.44 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3183, allocations: 128 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.001978/0.3203, allocations: 456.6 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.18419400206767]