Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009931/0.0009931, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001037/0.001037, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.339/2.339, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.639e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001592/0.001618, allocations: 0.6222 MB / 0.8392 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006925/0.008543, allocations: 0.8664 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.008574, allocations: 0 / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.008598, allocations: 0 / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.008658, allocations: 3.938 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.008821, allocations: 19.86 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.008886, allocations: 19.92 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.008924, allocations: 0 / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.00906, allocations: 23.97 kB / 0.8401 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.009105, allocations: 7.938 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.009118, allocations: 4 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.635e-05/0.009154, allocations: 0 / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.009166, allocations: 8 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.009179, allocations: 3.984 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.282e-05/0.009262, allocations: 15.98 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.009264, allocations: 3.938 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.423e-06/0.009266, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.009269, allocations: 0 / 0.8402 GB, free: 12.51 MB / 0.8073 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.0002621/0.009531, allocations: 228.9 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.009569, allocations: 12.62 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.009677, allocations: 8.938 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.009754, allocations: 113.7 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.009763, allocations: 384 / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.009771, allocations: 384 / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.925e-05/0.00985, allocations: 54.89 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.009858, allocations: 4.172 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.009864, allocations: 384 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.009869, allocations: 384 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.286e-05/0.009882, allocations: 7.938 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.697e-05/0.009959, allocations: 61.02 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.009997, allocations: 18.58 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.01001, allocations: 4.859 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.01002, allocations: 0 / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01004, allocations: 34.62 kB / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.01004, allocations: 0 / 0.8407 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.493e-05/0.01014, allocations: 37.62 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.01017, allocations: 51.41 kB / 0.8408 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.01023, allocations: 110.7 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.01024, allocations: 29.69 kB / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.01027, allocations: 80.27 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.01029, allocations: 4 kB / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.01031, allocations: 13.72 kB / 0.841 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.0104, allocations: 322.8 kB / 0.8413 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.01041, allocations: 0 / 0.8413 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.01042, allocations: 4 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.01044, allocations: 9.094 kB / 0.8413 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01044, allocations: 4 kB / 0.8413 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.484e-05/0.01051, allocations: 37.64 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01052, allocations: 4.094 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01053, allocations: 4 kB / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01054, allocations: 0 / 0.8414 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.0106, allocations: 7.984 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.01061, allocations: 0 / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.01062, allocations: 0 / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.01063, allocations: 0 / 0.8414 GB, free: 11.11 MB / 0.8073 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 5.819e-05/0.01069, allocations: 113.8 kB / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.01069, allocations: 0 / 0.8415 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.01071, allocations: 7.156 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01071, allocations: 4 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01072, allocations: 4 kB / 0.8415 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01072, allocations: 7.922 kB / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.118e-05/0.01078, allocations: 65.84 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01078, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.01079, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.0108, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.0108, allocations: 4 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0108, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.0108, allocations: 3.984 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.148e-05/0.01086, allocations: 61.02 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.01087, allocations: 11.97 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.01088, allocations: 0 / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.01089, allocations: 3.984 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.01092, allocations: 4 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.01092, allocations: 0 / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.01094, allocations: 8.859 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01094, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001419/0.01108, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 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.0001041/0.01118, allocations: 80.41 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.263e-05/0.01124, allocations: 16.86 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01124, allocations: 3.938 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.01125, allocations: 4.859 kB / 0.8418 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.054e-05/0.01132, allocations: 9.828 kB / 0.8418 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.01169, allocations: 114.8 kB / 0.8419 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.96e-05/0.01171, allocations: 59.34 kB / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.545e-05/0.01173, allocations: 128 / 0.842 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.01176, allocations: 55.38 kB / 0.842 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01176, allocations: 0 / 0.842 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.006944/0.01871, allocations: 304.1 kB / 0.8423 GB, free: 10.08 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.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.3464004239067435]