Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.068, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002014/1.07, allocations: 1.216 MB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007151/1.071, allocations: 398 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/1.071, allocations: 0.8125 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/1.071, allocations: 0.6094 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.958e-05/1.071, allocations: 0 / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/1.071, allocations: 93.95 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/1.071, allocations: 13.64 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/1.071, allocations: 2.453 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/1.071, allocations: 11.03 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.786e-05/1.072, allocations: 13.06 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/1.072, allocations: 5.688 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/1.072, allocations: 99.12 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/1.072, allocations: 2.828 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/1.072, allocations: 7.703 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/1.072, allocations: 86.69 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.072, allocations: 0.6562 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.072, allocations: 0 / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.53e-06/1.072, allocations: 0.6562 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003847/1.072, allocations: 374.4 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.072, allocations: 14.75 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/1.072, allocations: 32.53 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/1.072, allocations: 17.78 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.59e-05/1.073, allocations: 163.4 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/1.073, allocations: 2.016 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.073, allocations: 7.188 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/1.073, allocations: 36.94 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.073, allocations: 4.453 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/1.073, allocations: 0.9688 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/1.073, allocations: 1.094 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/1.073, allocations: 9.578 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/1.073, allocations: 249.1 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/1.073, allocations: 32.61 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/1.073, allocations: 14 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/1.073, allocations: 4.906 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/1.073, allocations: 64.83 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/1.073, allocations: 0 / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.000188/1.073, allocations: 73.56 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/1.073, allocations: 52.84 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/1.073, allocations: 98.84 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/1.073, allocations: 26.7 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.41e-05/1.074, allocations: 85.42 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/1.074, allocations: 18 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/1.074, allocations: 21.05 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/1.074, allocations: 317.1 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/1.074, allocations: 9.875 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/1.074, allocations: 31.56 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/1.074, allocations: 51.97 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.074, allocations: 3.938 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.656e-05/1.074, allocations: 76.73 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.074, allocations: 9.5 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.074, allocations: 4.766 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.074, allocations: 2.031 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/1.074, allocations: 12.44 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.074, allocations: 5.094 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/1.074, allocations: 2.125 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.074, allocations: 2.719 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.205e-05/1.074, allocations: 118.7 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/1.074, allocations: 9.875 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/1.074, allocations: 3.562 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.074, allocations: 0.9688 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.074, allocations: 0.8438 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.074, allocations: 0.75 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.074, allocations: 302.2 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.074, allocations: 1.266 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/1.074, allocations: 2.438 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.074, allocations: 0.8125 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.074, allocations: 1.719 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.074, allocations: 0.9062 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.074, allocations: 0 / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/1.074, allocations: 174.4 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/1.074, allocations: 82.83 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/1.074, allocations: 4.5 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/1.074, allocations: 3.031 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/1.074, allocations: 2 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/1.074, allocations: 5.875 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.822e-05/1.075, allocations: 77.03 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 1 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000294/1.075, allocations: 40.59 kB / 1.276 GB, free: 3.777 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005591/1.075, allocations: 0.7511 MB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001168/1.075, allocations: 34.95 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.075, allocations: 4.125 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/1.076, allocations: 10.31 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/1.076, allocations: 2.469 kB / 1.277 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/1.077, allocations: 1.269 MB / 1.278 GB, free: 17.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.077, allocations: 0.6818 MB / 1.279 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.191e-05/1.077, allocations: 6.094 kB / 1.279 GB, free: 17.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/1.077, allocations: 9.844 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of SimCode: time 4.7e-07/1.077, allocations: 0.5312 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/1.102, allocations: 1.892 MB / 1.281 GB, free: 16.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/9.365, allocations: 6.438 kB / 1.281 GB, free: 16.65 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.28556709701661] Failed to read output from testmodel.py, exit status != 0: 9.43808023200836 9.46167916 8.385210622 Calling exit ...