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.001345/0.001345, allocations: 112 kB / 17.96 MB, free: 4.039 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.001358/0.001358, allocations: 201.4 kB / 21.22 MB, free: 0.793 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.465/1.465, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.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.718/2.718, allocations: 476.7 MB / 0.7635 GB, free: 10.2 MB / 0.6231 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.00191/0.00191, allocations: 67.89 kB / 1.108 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.871/0.8729, allocations: 168.7 MB / 1.272 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002407/0.8753, allocations: 1.221 MB / 1.274 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.8761, allocations: 398.7 kB / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.8761, allocations: 0 / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.8762, allocations: 0 / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.8762, allocations: 3.938 kB / 1.274 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.8767, allocations: 95.72 kB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.8768, allocations: 15.94 kB / 1.274 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.8768, allocations: 3.984 kB / 1.274 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.8768, allocations: 7.984 kB / 1.274 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.8768, allocations: 7.938 kB / 1.274 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.8769, allocations: 4 kB / 1.274 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.8771, allocations: 91.88 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.8771, allocations: 4 kB / 1.274 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.8771, allocations: 7.938 kB / 1.274 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.8773, allocations: 89.58 kB / 1.274 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8773, allocations: 4 kB / 1.274 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8773, allocations: 0 / 1.274 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8773, allocations: 0 / 1.274 GB, free: 2.496 MB / 0.9669 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.0005219/0.8778, allocations: 385 kB / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8779, allocations: 8.031 kB / 1.275 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.8779, allocations: 34.69 kB / 1.275 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.878, allocations: 4.938 kB / 1.275 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8781, allocations: 168.3 kB / 1.275 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8781, allocations: 4.375 kB / 1.275 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.8781, allocations: 4.375 kB / 1.275 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.8782, allocations: 42.25 kB / 1.275 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.8782, allocations: 3.938 kB / 1.275 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.8782, allocations: 3.938 kB / 1.275 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.8782, allocations: 0 / 1.275 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.8783, allocations: 11.92 kB / 1.275 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.8786, allocations: 241 kB / 1.275 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.8787, allocations: 34.52 kB / 1.275 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.8787, allocations: 20.92 kB / 1.275 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.8788, allocations: 4 kB / 1.275 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.8789, allocations: 55.34 kB / 1.275 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.8789, allocations: 0 / 1.275 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002109/0.8791, allocations: 77.67 kB / 1.275 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8792, allocations: 51.41 kB / 1.275 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.8793, allocations: 101.8 kB / 1.275 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.8793, allocations: 25.7 kB / 1.275 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.8793, allocations: 80.14 kB / 1.276 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.8793, allocations: 19.84 kB / 1.276 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.8794, allocations: 17.72 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8795, allocations: 315 kB / 1.276 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.8795, allocations: 23.92 kB / 1.276 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.8796, allocations: 35.42 kB / 1.276 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.8796, allocations: 47.38 kB / 1.276 GB, free: 464 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8796, allocations: 3.938 kB / 1.276 GB, free: 460 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.8798, allocations: 73.61 kB / 1.276 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.8798, allocations: 5.719 kB / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.8798, allocations: 0 / 1.276 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8798, allocations: 4 kB / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.8798, allocations: 8 kB / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8798, allocations: 0 / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.8799, allocations: 11.95 kB / 1.276 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.8799, allocations: 8.172 kB / 1.276 GB, free: 344 kB / 0.9669 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.645e-05/0.88, allocations: 119.3 kB / 1.276 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.88, allocations: 4 kB / 1.276 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.88, allocations: 7.562 kB / 1.276 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.88, allocations: 8 kB / 1.276 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.88, allocations: 0 / 1.276 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.88, allocations: 0 / 1.276 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.8803, allocations: 294.6 kB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8803, allocations: 0 / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.8803, allocations: 7.938 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8803, allocations: 3.938 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.8803, allocations: 8 kB / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8803, allocations: 0 / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8803, allocations: 0 / 1.277 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.8805, allocations: 167.4 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.8805, allocations: 77.11 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.8806, allocations: 0 / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.8806, allocations: 96 / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.8806, allocations: 11.97 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.8806, allocations: 4 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.8807, allocations: 79.28 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8807, allocations: 4 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002784/0.881, allocations: 31.81 kB / 1.277 GB, free: 15.43 MB / 0.9825 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.0007444/0.8817, allocations: 0.7695 MB / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.8818, allocations: 31.92 kB / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8818, allocations: 0 / 1.278 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.8819, allocations: 15.98 kB / 1.278 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.8821, allocations: 4 kB / 1.278 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.8832, allocations: 1.269 MB / 1.279 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.8835, allocations: 0.6768 MB / 1.28 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.8836, allocations: 3.984 kB / 1.28 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8836, allocations: 11.44 kB / 1.28 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.8836, allocations: 0 / 1.28 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.9078, allocations: 1.89 MB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.991, allocations: 6.094 kB / 1.281 GB, free: 10.71 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.97430517198518]