Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01331/0.01332, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001286/0.001286, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.307/2.307, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.422/2.422, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004681, allocations: 13.91 kB / 0.6243 GB, free: 21.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005489/0.2316, allocations: 3.162 MB / 0.7311 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.2354, allocations: 1.248 MB / 0.7324 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.2362, allocations: 27.81 kB / 0.7324 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.2363, allocations: 51.38 kB / 0.7324 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009974/0.2373, allocations: 183.4 kB / 0.7326 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.2393, allocations: 471.1 kB / 0.7331 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.241, allocations: 0.6139 MB / 0.7337 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006466/0.2417, allocations: 251.2 kB / 0.7339 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.2424, allocations: 294.6 kB / 0.7342 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.2429, allocations: 266.4 kB / 0.7344 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.243, allocations: 27.94 kB / 0.7345 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.2431, allocations: 20 kB / 0.7345 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2433, allocations: 107.4 kB / 0.7346 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2434, allocations: 141.3 kB / 0.7347 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009198/0.2444, allocations: 0.6236 MB / 0.7353 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2444, allocations: 0 / 0.7353 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2444, allocations: 0 / 0.7353 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.2444, allocations: 0 / 0.7353 GB, free: 0.6055 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00306/0.2475, allocations: 1.059 MB / 0.7364 GB, free: 15.49 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.2476, allocations: 12.03 kB / 0.7364 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.2478, allocations: 94.45 kB / 0.7365 GB, free: 15.38 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.248, allocations: 98.77 kB / 0.7366 GB, free: 15.28 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.2497, allocations: 0.5747 MB / 0.7371 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.2499, allocations: 108.4 kB / 0.7372 GB, free: 14.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.25, allocations: 52 kB / 0.7373 GB, free: 14.49 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2519, allocations: 0.6001 MB / 0.7379 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.252, allocations: 4 kB / 0.7379 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/0.2521, allocations: 23.98 kB / 0.7379 GB, free: 13.82 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2521, allocations: 16 kB / 0.7379 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.2539, allocations: 439.6 kB / 0.7383 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.2587, allocations: 2.137 MB / 0.7404 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.261, allocations: 0.5187 MB / 0.7409 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.99e-05/0.2611, allocations: 7.984 kB / 0.7409 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.2623, allocations: 290 kB / 0.7412 GB, free: 10.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=45): time 3.466e-06/0.2623, allocations: 0 / 0.7412 GB, free: 10.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=45): time 0.002692/0.265, allocations: 0.6424 MB / 0.7418 GB, free: 9.672 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.2651, allocations: 84.86 kB / 0.7419 GB, free: 9.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2664, allocations: 0.6178 MB / 0.7425 GB, free: 8.945 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.2665, allocations: 37.7 kB / 0.7425 GB, free: 8.902 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.2669, allocations: 364.8 kB / 0.7429 GB, free: 8.543 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.2672, allocations: 154.8 kB / 0.743 GB, free: 8.391 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.2672, allocations: 12 kB / 0.7431 GB, free: 8.379 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2674, allocations: 326 kB / 0.7434 GB, free: 8.055 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.2682, allocations: 185 kB / 0.7435 GB, free: 7.875 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/0.2692, allocations: 288.2 kB / 0.7438 GB, free: 7.555 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.2701, allocations: 234.5 kB / 0.744 GB, free: 7.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.2701, allocations: 0 / 0.744 GB, free: 7.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00217/0.2723, allocations: 0.6176 MB / 0.7446 GB, free: 6.688 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/0.2728, allocations: 0.9909 MB / 0.7456 GB, free: 5.617 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2728, allocations: 7.938 kB / 0.7456 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2728, allocations: 4 kB / 0.7456 GB, free: 5.605 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.2738, allocations: 111.8 kB / 0.7457 GB, free: 5.496 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.2739, allocations: 4 kB / 0.7457 GB, free: 5.492 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.2746, allocations: 75.41 kB / 0.7458 GB, free: 5.418 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.2747, allocations: 23.95 kB / 0.7458 GB, free: 5.395 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2747, allocations: 4 kB / 0.7458 GB, free: 5.391 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001807/0.2766, allocations: 0.4998 MB / 0.7463 GB, free: 4.887 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2766, allocations: 4 kB / 0.7463 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2766, allocations: 4 kB / 0.7463 GB, free: 4.879 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.2775, allocations: 112.1 kB / 0.7464 GB, free: 4.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2776, allocations: 4 kB / 0.7464 GB, free: 4.766 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.2783, allocations: 59.52 kB / 0.7465 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.2783, allocations: 19.98 kB / 0.7465 GB, free: 4.688 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.00049/0.2788, allocations: 273 kB / 0.7468 GB, free: 4.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.279, allocations: 75.02 kB / 0.7468 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2793, allocations: 87.33 kB / 0.7469 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.2793, allocations: 4 kB / 0.7469 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2793, allocations: 0 / 0.7469 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2793, allocations: 0 / 0.7469 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2804, allocations: 0.6258 MB / 0.7475 GB, free: 3.566 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2804, allocations: 0 / 0.7475 GB, free: 3.566 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/0.2813, allocations: 83.83 kB / 0.7476 GB, free: 3.484 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.2814, allocations: 7.953 kB / 0.7476 GB, free: 3.477 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.2814, allocations: 15.98 kB / 0.7476 GB, free: 3.461 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.2814, allocations: 8 kB / 0.7477 GB, free: 3.453 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2815, allocations: 0 / 0.7477 GB, free: 3.453 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.2842, allocations: 0.7435 MB / 0.7484 GB, free: 2.684 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.2846, allocations: 196.1 kB / 0.7486 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.2848, allocations: 11.95 kB / 0.7486 GB, free: 2.461 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.2856, allocations: 39.97 kB / 0.7486 GB, free: 2.422 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.2857, allocations: 39.94 kB / 0.7487 GB, free: 2.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/0.2858, allocations: 15.98 kB / 0.7487 GB, free: 2.367 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008194/0.2866, allocations: 427.1 kB / 0.7491 GB, free: 1.957 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2867, allocations: 3.938 kB / 0.7491 GB, free: 1.953 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009383/0.2876, allocations: 215.4 kB / 0.7493 GB, free: 1.742 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003044/0.2907, allocations: 1.304 MB / 0.7506 GB, free: 420 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002789/0.2935, allocations: 0.812 MB / 0.7513 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2935, allocations: 3.938 kB / 0.7514 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.2944, allocations: 224.5 kB / 0.7516 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.2958, allocations: 176 kB / 0.7517 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.3005, allocations: 3.296 MB / 0.755 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.3012, allocations: 0.93 MB / 0.7559 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007722/0.302, allocations: 93.44 kB / 0.756 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.3026, allocations: 267.3 kB / 0.7562 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/0.3026, allocations: 0 / 0.7562 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/0.3527, allocations: 12.9 MB / 0.7688 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/0.3532, allocations: 175.1 kB / 0.769 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.396, allocations: 0 / 0.769 GB, free: 13.53 MB / 0.6042 GB