Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.28/4.28, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.599e-05, allocations: 3.812 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 98.72 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2662/0.4958, allocations: 126.7 MB / 0.7584 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.4962, allocations: 83.94 kB / 0.7585 GB, free: 2.934 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.02333/0.5196, allocations: 3.514 MB / 0.762 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5196, allocations: 4 kB / 0.762 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5196, allocations: 4 kB / 0.762 GB, free: 15.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001121/0.5208, allocations: 465.9 kB / 0.7624 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.5209, allocations: 8.031 kB / 0.7624 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.5209, allocations: 42.55 kB / 0.7625 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.521, allocations: 11.86 kB / 0.7625 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.5213, allocations: 189 kB / 0.7627 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.5213, allocations: 7.938 kB / 0.7627 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.5214, allocations: 11.94 kB / 0.7627 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.5218, allocations: 81.64 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5218, allocations: 3.984 kB / 0.7628 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.5218, allocations: 0 / 0.7628 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5219, allocations: 7.938 kB / 0.7628 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.5221, allocations: 43.94 kB / 0.7628 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009703/0.5318, allocations: 372.7 kB / 0.7632 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.5321, allocations: 58.5 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.5323, allocations: 36.86 kB / 0.7632 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.5324, allocations: 12 kB / 0.7633 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.5327, allocations: 91.31 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 4.389e-06/0.5327, allocations: 0 / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0006965/0.5335, allocations: 145.5 kB / 0.7635 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.5335, allocations: 55.41 kB / 0.7635 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.5337, allocations: 123.2 kB / 0.7637 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.5338, allocations: 33.69 kB / 0.7637 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5339, allocations: 104.4 kB / 0.7638 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.534, allocations: 19.8 kB / 0.7638 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.534, allocations: 7.938 kB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5342, allocations: 322.8 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5344, allocations: 28 kB / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5389, allocations: 64.3 kB / 0.7642 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.5392, allocations: 35.98 kB / 0.7642 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5392, allocations: 0 / 0.7642 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005578/0.5398, allocations: 133.3 kB / 0.7644 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5398, allocations: 8 kB / 0.7644 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5398, allocations: 0 / 0.7644 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.5399, allocations: 7.953 kB / 0.7644 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.5402, allocations: 20.08 kB / 0.7644 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/0.5403, allocations: 7.984 kB / 0.7644 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5405, allocations: 19.88 kB / 0.7644 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.5406, allocations: 4.094 kB / 0.7644 GB, free: 12.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000161/0.5408, allocations: 115.1 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.5408, allocations: 15.83 kB / 0.7646 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.5409, allocations: 12.62 kB / 0.7646 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5409, allocations: 7.953 kB / 0.7646 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5409, allocations: 0 / 0.7646 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.541, allocations: 0 / 0.7646 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.5421, allocations: 438.3 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5421, allocations: 0 / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.5423, allocations: 11.98 kB / 0.765 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.5423, allocations: 3.953 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.5424, allocations: 7.984 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5424, allocations: 8 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5424, allocations: 4 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007731/0.5469, allocations: 239.4 kB / 0.7653 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.547, allocations: 85 kB / 0.7653 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.5471, allocations: 11.95 kB / 0.7654 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.5475, allocations: 4 kB / 0.7654 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.5476, allocations: 7.984 kB / 0.7654 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.5476, allocations: 11.98 kB / 0.7654 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001463/0.5478, allocations: 102.5 kB / 0.7655 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5478, allocations: 0 / 0.7655 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000814/0.5486, allocations: 63.86 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001589/0.5502, allocations: 0.8561 MB / 0.7664 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.5507, allocations: 87.86 kB / 0.7665 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5507, allocations: 0 / 0.7665 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.551, allocations: 51.97 kB / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.5514, allocations: 13.83 kB / 0.7665 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5525, allocations: 199.2 kB / 0.7667 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.5529, allocations: 0.7004 MB / 0.7674 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.553, allocations: 7.984 kB / 0.7674 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5532, allocations: 27.42 kB / 0.7674 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/0.5532, allocations: 4 kB / 0.7674 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.6025, allocations: 3.181 MB / 0.7705 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.6027, allocations: 218 kB / 0.7707 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.103, allocations: 4.062 kB / 0.7707 GB, free: 6.051 MB / 0.6511 GB