Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.875/1.875, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002341/0.002341, allocations: 187.2 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 94.64 kB / 0.7935 GB, free: 40.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005166, allocations: 16.5 kB / 0.9225 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.776, allocations: 121.3 MB / 1.041 GB, free: 58.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0008535/0.7769, allocations: 345.9 kB / 1.041 GB, free: 58.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.7778, allocations: 0.7951 MB / 1.042 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.7778, allocations: 0 / 1.042 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.7779, allocations: 2.188 kB / 1.042 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.7779, allocations: 6.719 kB / 1.042 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.7781, allocations: 10.47 kB / 1.042 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.7781, allocations: 22.03 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.7782, allocations: 1.5 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.7783, allocations: 14.31 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.7784, allocations: 6.625 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.7784, allocations: 0 / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.7784, allocations: 1.25 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.7784, allocations: 1.031 kB / 1.042 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.7785, allocations: 30.58 kB / 1.042 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.7785, allocations: 28.33 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7786, allocations: 0 / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7786, allocations: 0.75 kB / 1.042 GB, free: 58.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7786, allocations: 1.312 kB / 1.042 GB, free: 58.13 MB / 0.698 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.0003455/0.7789, allocations: 323.8 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.779, allocations: 9.406 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.779, allocations: 4 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.7791, allocations: 164.5 kB / 1.043 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.7791, allocations: 1.688 kB / 1.043 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.7791, allocations: 4.312 kB / 1.043 GB, free: 57.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.7793, allocations: 44.36 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7793, allocations: 192 / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.7793, allocations: 5.344 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7793, allocations: 0 / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.7794, allocations: 14.59 kB / 1.043 GB, free: 57.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.7795, allocations: 164.7 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.7796, allocations: 28.75 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.7797, allocations: 15.62 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.7797, allocations: 3.938 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7797, allocations: 35.92 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.7797, allocations: 0.75 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002218/0.7799, allocations: 59.97 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.78, allocations: 55.33 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.7801, allocations: 104.1 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.7801, allocations: 26.23 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.7801, allocations: 89.36 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.7802, allocations: 0 / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.7802, allocations: 2.594 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.7802, allocations: 312.3 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.7803, allocations: 11.81 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.7803, allocations: 14.38 kB / 1.044 GB, free: 56.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.7804, allocations: 20.8 kB / 1.044 GB, free: 56.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7804, allocations: 0.9688 kB / 1.044 GB, free: 56.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.953e-05/0.7805, allocations: 51.52 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7806, allocations: 9.594 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7806, allocations: 11.3 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7806, allocations: 1.812 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.7807, allocations: 5.906 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7807, allocations: 0 / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.7807, allocations: 4.141 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.7807, allocations: 5.625 kB / 1.044 GB, free: 56.55 MB / 0.698 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.73e-05/0.7808, allocations: 112.7 kB / 1.044 GB, free: 56.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.7808, allocations: 10.2 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.7808, allocations: 12.06 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7808, allocations: 1.031 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7809, allocations: 0.5 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7809, allocations: 4.219 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.631e-05/0.7809, allocations: 148.4 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7809, allocations: 0 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.781, allocations: 6.047 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.781, allocations: 0 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.781, allocations: 6.578 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.781, allocations: 0 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.781, allocations: 3.938 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.7811, allocations: 79.81 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.7812, allocations: 79.16 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.7812, allocations: 3.938 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.958e-05/0.7812, allocations: 5.484 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.7812, allocations: 4.969 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7813, allocations: 3.062 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.7813, allocations: 86.81 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7813, allocations: 4.031 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002102/0.7815, allocations: 0 / 1.044 GB, free: 55.97 MB / 0.698 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.7816, allocations: 105.8 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.7818, allocations: 19.05 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7818, allocations: 3.938 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.7818, allocations: 15.83 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.782, allocations: 4 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.7822, allocations: 120.1 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.7823, allocations: 0.6768 MB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.7824, allocations: 0 / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.7824, allocations: 8.75 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.7824, allocations: 4.062 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of Templates: time 0.001979/0.7844, allocations: 249.2 kB / 1.045 GB, free: 55 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)