Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.144/5.144, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003939/0.003939, allocations: 352 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.336/4.336, allocations: 410.7 MB / 1.112 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 191.4 kB / 1.225 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004935, allocations: 16 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7187, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0006937/0.7194, allocations: 393.2 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.7203, allocations: 0.8018 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.7203, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.7204, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.7204, allocations: 7.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.7205, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.7206, allocations: 17.7 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.71e-05/0.7207, allocations: 19.86 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.7207, allocations: 3.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.7208, allocations: 7.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.7208, allocations: 2.031 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.7208, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.7209, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.7209, allocations: 25.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.564e-05/0.7209, allocations: 11.97 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.701e-06/0.721, allocations: 2.969 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/0.721, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.77e-06/0.721, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 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.0003436/0.7213, allocations: 337.5 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7214, allocations: 12.12 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.7214, allocations: 7.906 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.7215, allocations: 163.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.7215, allocations: 1.469 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.7216, allocations: 8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.7217, allocations: 58.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-06/0.7218, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.7218, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-06/0.7218, allocations: 0.5 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.722, allocations: 46.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.7223, allocations: 246.2 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.7224, allocations: 44.81 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.7225, allocations: 38.77 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.7226, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.7226, allocations: 31.56 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.592e-06/0.7226, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003889/0.723, allocations: 98.33 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.7231, allocations: 51.41 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.7231, allocations: 98.38 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-06/0.7231, allocations: 26.64 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.7232, allocations: 92.06 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.7232, allocations: 9.797 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-06/0.7232, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.7233, allocations: 318.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.7234, allocations: 25.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.7235, allocations: 21.23 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.7236, allocations: 24.81 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-06/0.7236, allocations: 0.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.7238, allocations: 76.08 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7239, allocations: 10.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-06/0.7239, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7239, allocations: 3.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.724, allocations: 13.59 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.763e-06/0.724, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.7241, allocations: 8.984 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-06/0.7241, allocations: 4 kB / 1.464 GB, free: 281 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.7242, allocations: 118.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.7242, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.7245, allocations: 84.16 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-06/0.7245, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-06/0.7245, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-06/0.7246, allocations: 5.078 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.7247, allocations: 157.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-06/0.7247, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.7248, allocations: 12.64 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-06/0.7248, allocations: 2.656 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-06/0.7248, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-06/0.7248, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.945e-06/0.7249, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.7251, allocations: 174.1 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.7252, allocations: 85.02 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.7252, allocations: 5.094 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7253, allocations: 9.578 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.7254, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-06/0.7254, allocations: 5.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.7254, allocations: 79.28 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.06e-07/0.7254, allocations: 0.5312 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002912/0.7257, allocations: 5.281 kB / 1.465 GB, free: 280.2 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.7258, allocations: 99.23 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.7261, allocations: 50.84 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.07e-06/0.7261, allocations: 5.375 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.7262, allocations: 28.41 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.7266, allocations: 4.453 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.7268, allocations: 102.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.727, allocations: 0.6839 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.727, allocations: 4 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.727, allocations: 7.438 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.478e-06/0.7271, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002451/0.7295, allocations: 357.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB