Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009525/0.0009525, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001066/0.001066, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.9139/0.9139, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6044 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 0 / 0.9518 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.283e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002036/0.002069, allocations: 0.6734 MB / 0.9525 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003138, allocations: 0.847 MB / 0.9533 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.003177, allocations: 0 / 0.9533 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.003207, allocations: 0 / 0.9533 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.003272, allocations: 3.938 kB / 0.9533 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.003485, allocations: 15.98 kB / 0.9533 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.003562, allocations: 15.94 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003667, allocations: 11.98 kB / 0.9533 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.003742, allocations: 15.94 kB / 0.9533 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.003785, allocations: 7.984 kB / 0.9533 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.0038, allocations: 0 / 0.9533 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.003852, allocations: 11.98 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003867, allocations: 0 / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.003888, allocations: 11.98 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.004, allocations: 27.84 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004003, allocations: 0 / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004004, allocations: 0 / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.004008, allocations: 0 / 0.9534 GB, free: 1.223 MB / 0.9011 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.0004042/0.004412, allocations: 262.3 kB / 0.9536 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.004456, allocations: 15.97 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.004544, allocations: 0.9375 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.709e-05/0.004641, allocations: 117.7 kB / 0.9538 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.004655, allocations: 4.375 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.004663, allocations: 384 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.004824, allocations: 54.17 kB / 0.9538 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.004833, allocations: 192 / 0.9538 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004843, allocations: 4.375 kB / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004847, allocations: 384 / 0.9538 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.004964, allocations: 35.91 kB / 0.9539 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.005263, allocations: 196.5 kB / 0.9541 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.005368, allocations: 34.56 kB / 0.9541 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.005427, allocations: 24.91 kB / 0.9541 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.005447, allocations: 0 / 0.9541 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.005472, allocations: 30.56 kB / 0.9541 GB, free: 352 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.005474, allocations: 4 kB / 0.9541 GB, free: 348 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002826/0.005757, allocations: 89.52 kB / 0.9542 GB, free: 252 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.005788, allocations: 51.41 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.005846, allocations: 105.8 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.005855, allocations: 25.7 kB / 0.9544 GB, free: 40 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.005898, allocations: 80.14 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.005914, allocations: 3.953 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.005939, allocations: 13.72 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.006014, allocations: 323 kB / 0.9548 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.006056, allocations: 15.98 kB / 0.9548 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.006089, allocations: 15.98 kB / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.006166, allocations: 40.81 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006168, allocations: 0 / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.99e-05/0.006268, allocations: 73.56 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.00628, allocations: 8 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006285, allocations: 3.938 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006298, allocations: 0 / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.006361, allocations: 11.98 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.006366, allocations: 4 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.006387, allocations: 7.984 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006391, allocations: 0 / 0.955 GB, free: 15.42 MB / 0.9167 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 5.549e-05/0.006447, allocations: 109.9 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.00646, allocations: 8.188 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.006587, allocations: 72.89 kB / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006589, allocations: 3.938 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006593, allocations: 0 / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006596, allocations: 0 / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.696e-05/0.006683, allocations: 105.3 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006685, allocations: 4 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.006712, allocations: 7.984 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006714, allocations: 4.031 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.00672, allocations: 0 / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.006723, allocations: 7.875 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006724, allocations: 4 kB / 0.9553 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.006847, allocations: 159.5 kB / 0.9554 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.006852, allocations: 3.953 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.006862, allocations: 0 / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.0069, allocations: 11.92 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.006932, allocations: 4.031 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.006934, allocations: 4 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.964e-05/0.006964, allocations: 87.27 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006964, allocations: 3.938 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001412/0.007105, allocations: 4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 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 9.225e-05/0.007197, allocations: 91.25 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.007319, allocations: 31.97 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007321, allocations: 4.062 kB / 0.9557 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.007361, allocations: 23.97 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.007578, allocations: 6.656 kB / 0.9557 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.007832, allocations: 142.4 kB / 0.9558 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.007872, allocations: 63.28 kB / 0.9559 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.007899, allocations: 12.5 kB / 0.9559 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.007899, allocations: 0 / 0.9559 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.001374/0.009273, allocations: 0.5668 MB / 0.9565 GB, free: 13.78 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 6.397552562877536]