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.Zhang2012WindowsEast.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.735/4.735, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.048e-05, allocations: 4.125 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2265, allocations: 98.75 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2668/0.4934, allocations: 125.7 MB / 0.7517 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.4938, allocations: 79.95 kB / 0.7518 GB, free: 11.17 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01409/0.5079, allocations: 2.904 MB / 0.7546 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5079, allocations: 0 / 0.7546 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.508, allocations: 4 kB / 0.7546 GB, free: 8.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006965/0.5087, allocations: 412 kB / 0.755 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5087, allocations: 8.031 kB / 0.755 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.5088, allocations: 11.95 kB / 0.755 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5089, allocations: 170.9 kB / 0.7552 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.509, allocations: 0 / 0.7552 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.509, allocations: 4 kB / 0.7552 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.5092, allocations: 35.86 kB / 0.7552 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5093, allocations: 57.67 kB / 0.7553 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5093, allocations: 0 / 0.7553 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5094, allocations: 0 / 0.7553 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5094, allocations: 3.953 kB / 0.7553 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.5102, allocations: 285.4 kB / 0.7556 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.5104, allocations: 42.58 kB / 0.7556 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.5104, allocations: 21.53 kB / 0.7556 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.5105, allocations: 8.078 kB / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.5107, allocations: 67.38 kB / 0.7557 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-05/0.5107, allocations: 0 / 0.7557 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000371/0.5111, allocations: 109.5 kB / 0.7558 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.5112, allocations: 55.39 kB / 0.7558 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5113, allocations: 105 kB / 0.7559 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5113, allocations: 25.7 kB / 0.756 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5115, allocations: 96.22 kB / 0.7561 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.5115, allocations: 11.91 kB / 0.7561 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-06/0.5115, allocations: 0 / 0.7561 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5117, allocations: 318.8 kB / 0.7564 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.5118, allocations: 16 kB / 0.7564 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.5119, allocations: 46.52 kB / 0.7564 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.512, allocations: 19.98 kB / 0.7565 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.512, allocations: 0 / 0.7565 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002671/0.5123, allocations: 97.5 kB / 0.7565 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5123, allocations: 4 kB / 0.7566 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5123, allocations: 4 kB / 0.7566 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5123, allocations: 8.047 kB / 0.7566 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.5125, allocations: 11.98 kB / 0.7566 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5125, allocations: 7.953 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.5127, allocations: 11.84 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5127, allocations: 0 / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001022/0.5128, allocations: 108.9 kB / 0.7567 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002612/0.5131, allocations: 89.67 kB / 0.7568 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.5131, allocations: 15.89 kB / 0.7568 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.5132, allocations: 8.625 kB / 0.7568 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5132, allocations: 3.953 kB / 0.7568 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5132, allocations: 4 kB / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5132, allocations: 0 / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.5137, allocations: 335 kB / 0.7571 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5138, allocations: 3.938 kB / 0.7571 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.5139, allocations: 4 kB / 0.7571 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5139, allocations: 0 / 0.7571 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.5139, allocations: 19.89 kB / 0.7572 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5139, allocations: 0 / 0.7572 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5139, allocations: 0 / 0.7572 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.5143, allocations: 187.4 kB / 0.7573 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.5143, allocations: 81.02 kB / 0.7574 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.5144, allocations: 8 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.5145, allocations: 17.62 kB / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5146, allocations: 4 kB / 0.7574 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.5146, allocations: 4 kB / 0.7574 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.214e-05/0.5147, allocations: 91.27 kB / 0.7575 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.485e-06/0.5147, allocations: 0 / 0.7575 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004829/0.5152, allocations: 47.88 kB / 0.7576 GB, free: 4.891 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001076/0.5163, allocations: 0.8092 MB / 0.7584 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.5165, allocations: 55.92 kB / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5166, allocations: 0 / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.5166, allocations: 24 kB / 0.7584 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.5169, allocations: 14.08 kB / 0.7585 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.5176, allocations: 146 kB / 0.7586 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5179, allocations: 0.6963 MB / 0.7593 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.455e-05/0.518, allocations: 8.172 kB / 0.7593 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.5181, allocations: 15.44 kB / 0.7593 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.5181, allocations: 0 / 0.7593 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.557, allocations: 2.177 MB / 0.7614 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003374/0.5574, allocations: 188.8 kB / 0.7616 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.086, allocations: 4 kB / 0.7616 GB, free: 0.6836 MB / 0.6355 GB