Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001283/0.001283, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001378/0.001378, allocations: 191.8 kB / 19.41 MB, free: 3.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.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 59.91 kB / 1.056 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8588, allocations: 160.7 MB / 1.213 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002392/0.8612, allocations: 1.214 MB / 1.214 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008485/0.8621, allocations: 388.9 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.8621, allocations: 0 / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.8621, allocations: 3.938 kB / 1.214 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.383e-05/0.8622, allocations: 0 / 1.214 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.8627, allocations: 93.94 kB / 1.215 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.8627, allocations: 19.62 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.8628, allocations: 5.156 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.8628, allocations: 3.969 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.8628, allocations: 10.77 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.8628, allocations: 1.094 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.8631, allocations: 98.67 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.8631, allocations: 4.906 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.8631, allocations: 14.09 kB / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.8633, allocations: 80.12 kB / 1.215 GB, free: 2.387 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8633, allocations: 0 / 1.215 GB, free: 2.387 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8633, allocations: 1.125 kB / 1.215 GB, free: 2.387 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.8633, allocations: 0 / 1.215 GB, free: 2.387 MB / 0.92 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.0005308/0.8638, allocations: 379.4 kB / 1.215 GB, free: 1.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.8639, allocations: 17.94 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.8639, allocations: 31.78 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.864, allocations: 2.875 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.8641, allocations: 165.5 kB / 1.215 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.8641, allocations: 1.438 kB / 1.215 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.8641, allocations: 6.5 kB / 1.215 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.8642, allocations: 44.17 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8643, allocations: 7.938 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.8643, allocations: 0.8125 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8643, allocations: 1.094 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.8643, allocations: 3.281 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.8647, allocations: 243.2 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.8648, allocations: 40.25 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.8648, allocations: 19.05 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.8648, allocations: 1.125 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.865, allocations: 57.05 kB / 1.216 GB, free: 1.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.865, allocations: 0 / 1.216 GB, free: 1.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002255/0.8652, allocations: 76.8 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.8652, allocations: 52.5 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.8653, allocations: 97.39 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.8653, allocations: 29.7 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.8654, allocations: 81.17 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.8654, allocations: 18.02 kB / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.8654, allocations: 27.17 kB / 1.216 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8656, allocations: 311.9 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.8656, allocations: 13.86 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.8657, allocations: 35.81 kB / 1.216 GB, free: 0.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.8657, allocations: 57.94 kB / 1.216 GB, free: 500 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8657, allocations: 3.938 kB / 1.216 GB, free: 496 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.8658, allocations: 67 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8659, allocations: 5.281 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8659, allocations: 5.125 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8659, allocations: 2 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.866, allocations: 15.89 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.866, allocations: 0.9688 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.866, allocations: 5.047 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.866, allocations: 7.406 kB / 1.217 GB, free: 428 kB / 0.92 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 8.179e-05/0.8661, allocations: 117.6 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.8661, allocations: 5.938 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.8661, allocations: 3.562 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8661, allocations: 8.734 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8661, allocations: 0.7812 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8661, allocations: 0 / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.8664, allocations: 297.2 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8664, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.8664, allocations: 6.969 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8664, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.8665, allocations: 5.078 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8665, allocations: 1.125 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8665, allocations: 0 / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.8666, allocations: 162.5 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.8667, allocations: 85.8 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8667, allocations: 5.5 kB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.8667, allocations: 4.125 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.8668, allocations: 6.281 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.8668, allocations: 1.938 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.8668, allocations: 76.38 kB / 1.217 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8668, allocations: 5.188 kB / 1.217 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002795/0.8671, allocations: 40.67 kB / 1.217 GB, free: 15.58 MB / 0.9356 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.0007705/0.8679, allocations: 0.7642 MB / 1.218 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.868, allocations: 35.3 kB / 1.218 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.868, allocations: 0 / 1.218 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.868, allocations: 16.53 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.8682, allocations: 5.016 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.8694, allocations: 1.264 MB / 1.219 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.8697, allocations: 0.6786 MB / 1.22 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.8697, allocations: 1.188 kB / 1.22 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.8698, allocations: 13.81 kB / 1.22 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.8698, allocations: 1.156 kB / 1.22 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.8946, allocations: 1.911 MB / 1.222 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/9.075, allocations: 13.66 kB / 1.222 GB, free: 11.82 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:p,seed,time,y [Calling sys.exit(0), Time elapsed: 14.997796727810055]