Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 73.89 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002387/0.2939, allocations: 1.209 MB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.2948, allocations: 438.6 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.2948, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.2948, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.2949, allocations: 7.922 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.2955, allocations: 99.66 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2955, allocations: 19.98 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.2956, allocations: 3.984 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.2956, allocations: 15.92 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.771e-05/0.2957, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2957, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.2959, allocations: 111.8 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.2959, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.296, allocations: 19.92 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2962, allocations: 87.88 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2962, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2962, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2962, allocations: 3.938 kB / 1.066 GB, free: 13.01 MB / 0.8419 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.0004484/0.2966, allocations: 381.4 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2967, allocations: 8.625 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.2967, allocations: 8.844 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.2968, allocations: 168.3 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2969, allocations: 4.375 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2969, allocations: 4.375 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.297, allocations: 42.23 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.297, allocations: 192 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.297, allocations: 3.938 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.297, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.2971, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.2972, allocations: 161.7 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.2973, allocations: 34.52 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.2973, allocations: 16.94 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.2974, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.2975, allocations: 51.41 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2975, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.2977, allocations: 73.55 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.2978, allocations: 59.41 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.2979, allocations: 101.8 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2979, allocations: 33.7 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.2979, allocations: 80.14 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2979, allocations: 7.891 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.298, allocations: 25.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.2981, allocations: 314.8 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.2981, allocations: 4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.2981, allocations: 39.42 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.2982, allocations: 43.38 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2982, allocations: 3.938 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.705e-05/0.2983, allocations: 69.62 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2983, allocations: 11.92 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2983, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2984, allocations: 3.938 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.2984, allocations: 8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2984, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.2985, allocations: 432 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.2985, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.955e-05/0.2986, allocations: 117.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2986, allocations: 11.94 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.2986, allocations: 7.484 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2986, allocations: 7.984 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2986, allocations: 3.938 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2986, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2987, allocations: 153.7 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2988, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.2988, allocations: 3.938 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2988, allocations: 7.938 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2988, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2988, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2988, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2989, allocations: 81.11 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.299, allocations: 85.02 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.299, allocations: 3.938 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.299, allocations: 3.984 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.299, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2991, allocations: 8 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.2991, allocations: 83.28 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2991, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002538/0.2994, allocations: 31.98 kB / 1.068 GB, free: 10.31 MB / 0.8419 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003333/0.2997, allocations: 155.6 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2998, allocations: 32.23 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2998, allocations: 4.062 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.2999, allocations: 20.02 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3, allocations: 3.938 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.3003, allocations: 134.8 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.3005, allocations: 0.6768 MB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.3005, allocations: 11.44 kB / 1.069 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3005, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of Templates: time 0.002798/0.3033, allocations: 1.218 MB / 1.071 GB, free: 8.004 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches