Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001677/0.001677, allocations: 108.1 kB / 16.4 MB, free: 6.504 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.001944/0.001944, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.491/1.491, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.816/2.816, allocations: 469.8 MB / 0.7491 GB, free: 3.008 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.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.88 kB / 1.073 GB, free: 164 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7955, allocations: 159.1 MB / 1.229 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002267/0.7978, allocations: 1.214 MB / 1.23 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008697/0.7987, allocations: 450.5 kB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.7988, allocations: 0 / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.7988, allocations: 3.938 kB / 1.23 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.7988, allocations: 4 kB / 1.23 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.7993, allocations: 115.6 kB / 1.23 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.7994, allocations: 19.98 kB / 1.23 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.7995, allocations: 3.984 kB / 1.23 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.7995, allocations: 11.94 kB / 1.23 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.7995, allocations: 15.86 kB / 1.23 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.7995, allocations: 8 kB / 1.23 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.7998, allocations: 99.89 kB / 1.231 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.7998, allocations: 8 kB / 1.231 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.7998, allocations: 15.91 kB / 1.231 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.8001, allocations: 101.6 kB / 1.231 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8001, allocations: 3.938 kB / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8001, allocations: 0 / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8001, allocations: 0 / 1.231 GB, free: 2.773 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005337/0.8006, allocations: 388.8 kB / 1.231 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8007, allocations: 16.03 kB / 1.231 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.8007, allocations: 34.75 kB / 1.231 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.8008, allocations: 4.938 kB / 1.231 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8009, allocations: 172.2 kB / 1.231 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.8009, allocations: 384 / 1.231 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.801, allocations: 8.359 kB / 1.231 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.8011, allocations: 42.25 kB / 1.231 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8011, allocations: 3.938 kB / 1.231 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.8011, allocations: 0 / 1.231 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.8011, allocations: 0 / 1.231 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.8012, allocations: 19.94 kB / 1.231 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.8015, allocations: 249 kB / 1.232 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.084e-05/0.8016, allocations: 30.52 kB / 1.232 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.8017, allocations: 24.95 kB / 1.232 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.8017, allocations: 0 / 1.232 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.8019, allocations: 67.34 kB / 1.232 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.8019, allocations: 0 / 1.232 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002306/0.8021, allocations: 77.67 kB / 1.232 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.8022, allocations: 55.41 kB / 1.232 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.8023, allocations: 101.8 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8023, allocations: 29.7 kB / 1.232 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.8023, allocations: 88.09 kB / 1.232 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.8024, allocations: 23.83 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.8024, allocations: 21.72 kB / 1.232 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8026, allocations: 310.8 kB / 1.232 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.8026, allocations: 19.92 kB / 1.232 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.8027, allocations: 40.28 kB / 1.232 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.8027, allocations: 56.23 kB / 1.232 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8028, allocations: 3.938 kB / 1.232 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001291/0.8029, allocations: 85.55 kB / 1.233 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8029, allocations: 4 kB / 1.233 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8029, allocations: 0 / 1.233 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8029, allocations: 4 kB / 1.233 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.803, allocations: 12.09 kB / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.803, allocations: 3.984 kB / 1.233 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.8031, allocations: 11.94 kB / 1.233 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.8031, allocations: 4 kB / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 0.0001021/0.8032, allocations: 125.8 kB / 1.233 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.8032, allocations: 3.938 kB / 1.233 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.8032, allocations: 7.969 kB / 1.233 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8033, allocations: 0 / 1.233 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8033, allocations: 4 kB / 1.233 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.8033, allocations: 4 kB / 1.233 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.8036, allocations: 314.5 kB / 1.233 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8036, allocations: 0.5625 kB / 1.233 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.8036, allocations: 4 kB / 1.233 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/0.8037, allocations: 64 / 1.233 GB, free: 16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.8037, allocations: 3.984 kB / 1.233 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.8037, allocations: 7.938 kB / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8037, allocations: 0 / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.8039, allocations: 171.4 kB / 1.233 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.8039, allocations: 85.09 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.804, allocations: 0 / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.804, allocations: 0 / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.804, allocations: 4.094 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.8041, allocations: 3.984 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.8041, allocations: 87.27 kB / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8041, allocations: 0 / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002971/0.8044, allocations: 35.88 kB / 1.233 GB, free: 15.57 MB / 0.9512 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 (6): * Single equations (assignments): 4 * 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.0008275/0.8053, allocations: 0.7818 MB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.8054, allocations: 40.36 kB / 1.234 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8054, allocations: 0 / 1.234 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.8055, allocations: 16 kB / 1.234 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.8057, allocations: 7.984 kB / 1.234 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.807, allocations: 1.323 MB / 1.235 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.8073, allocations: 0.6807 MB / 1.236 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.8073, allocations: 0 / 1.236 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.8073, allocations: 11.44 kB / 1.236 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8074, allocations: 0 / 1.236 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.8299, allocations: 2.115 MB / 1.238 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/9.054, allocations: 0.5938 kB / 1.238 GB, free: 10.55 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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:A,B,C,seed,time,x1,x2,y [Calling sys.exit(0), Time elapsed: 15.175221106037498]