Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.056/2.056, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001465/0.001465, allocations: 187 kB / 393.1 MB, free: 4.031 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.537/1.537, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0007609/0.0007609, allocations: 98.23 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003412, allocations: 16 kB / 0.9225 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8756, allocations: 121.3 MB / 1.041 GB, free: 58.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001255/0.8769, allocations: 0.5817 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.8787, allocations: 1.323 MB / 1.043 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.8788, allocations: 0 / 1.043 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.8788, allocations: 8.016 kB / 1.043 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.8789, allocations: 13.89 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.8795, allocations: 135.5 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.8797, allocations: 154.3 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.8799, allocations: 31.44 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.88, allocations: 54.2 kB / 1.043 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.8802, allocations: 56.12 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.8802, allocations: 6.031 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.8803, allocations: 19.31 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.8803, allocations: 19.83 kB / 1.043 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.8804, allocations: 83.95 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.8807, allocations: 153.8 kB / 1.043 GB, free: 57.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8807, allocations: 0 / 1.043 GB, free: 57.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8807, allocations: 0 / 1.043 GB, free: 57.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8807, allocations: 0 / 1.043 GB, free: 57.19 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006483/0.8814, allocations: 440.4 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.8814, allocations: 10.03 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.8815, allocations: 12.19 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.8821, allocations: 263.9 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.8822, allocations: 8.953 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.8822, allocations: 14.72 kB / 1.044 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.8825, allocations: 95.17 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8825, allocations: 3.938 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.8826, allocations: 1.547 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8826, allocations: 5.719 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.8828, allocations: 64.28 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.8836, allocations: 385.9 kB / 1.045 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.8838, allocations: 46.98 kB / 1.045 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.8839, allocations: 26.52 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.884, allocations: 3.625 kB / 1.045 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.8843, allocations: 96.03 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.8843, allocations: 7.562 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005267/0.8848, allocations: 141.2 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.8849, allocations: 63.19 kB / 1.045 GB, free: 55.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.885, allocations: 141 kB / 1.045 GB, free: 55.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.8851, allocations: 33.36 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.8851, allocations: 111.6 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.8852, allocations: 30.44 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.8852, allocations: 1.031 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.8853, allocations: 321.7 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.8855, allocations: 57.23 kB / 1.046 GB, free: 55.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.8858, allocations: 135.6 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.8862, allocations: 209.6 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.8862, allocations: 1.312 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006318/0.8868, allocations: 256.6 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.8869, allocations: 34.08 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.8869, allocations: 3.25 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.8869, allocations: 8.062 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.8871, allocations: 28.44 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.8871, allocations: 14.28 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.8874, allocations: 50.53 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.8875, allocations: 12.97 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001221/0.8876, allocations: 135.1 kB / 1.047 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.8876, allocations: 8.719 kB / 1.047 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.8877, allocations: 20.91 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8877, allocations: 2.188 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8877, allocations: 3.938 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8877, allocations: 3.375 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.8884, allocations: 406.5 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8884, allocations: 4 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.8885, allocations: 16.3 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8885, allocations: 5.156 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.8886, allocations: 2.781 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8886, allocations: 0 / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.8886, allocations: 0 / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.8891, allocations: 251.5 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.8891, allocations: 90.47 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.8892, allocations: 0.7969 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.8893, allocations: 11.44 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.8894, allocations: 10.73 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.8894, allocations: 7.953 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.8895, allocations: 105 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8895, allocations: 0 / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004203/0.8899, allocations: 35.61 kB / 1.048 GB, free: 53.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002005/0.8901, allocations: 123.2 kB / 1.048 GB, free: 53.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.8906, allocations: 186.1 kB / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8906, allocations: 0 / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.8908, allocations: 49.86 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.8912, allocations: 21.05 kB / 1.048 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.8918, allocations: 313.3 kB / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.892, allocations: 0.7055 MB / 1.049 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.692e-05/0.8922, allocations: 15.69 kB / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.8922, allocations: 18.23 kB / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.8922, allocations: 0 / 1.049 GB, free: 52.82 MB / 0.698 GB Notification: Performance of Templates: time 0.005593/0.8978, allocations: 1.519 MB / 1.05 GB, free: 52.7 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)