Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008766/0.008766, allocations: 102 kB / 15.73 MB, free: 6.051 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.001998/0.001999, allocations: 195 kB / 16.68 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.23 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2903, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00228/0.2927, allocations: 1.225 MB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.2935, allocations: 436.3 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.2936, allocations: 4 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2936, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.2937, allocations: 3.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.2942, allocations: 99.66 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.2943, allocations: 15.97 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.2944, allocations: 12 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.2944, allocations: 7.938 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.076e-05/0.2945, allocations: 3.984 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.2945, allocations: 7.938 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2947, allocations: 107.8 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.2947, allocations: 0 / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.2948, allocations: 15.92 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.295, allocations: 83.88 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.295, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.356e-06/0.295, allocations: 4 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.295, allocations: 3.938 kB / 1.089 GB, free: 16 kB / 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.0005098/0.2955, allocations: 384 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2956, allocations: 8.031 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.79e-05/0.2957, allocations: 38.59 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.2957, allocations: 4.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2958, allocations: 168.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2959, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.2959, allocations: 4.375 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.296, allocations: 42.25 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.296, allocations: 7.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.296, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.296, allocations: 3.984 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.2961, allocations: 7.984 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.2964, allocations: 248.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.2965, allocations: 34.52 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.2966, allocations: 20.94 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.2966, allocations: 4 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.2968, allocations: 55.39 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 4.258e-06/0.2968, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002182/0.297, allocations: 77.53 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.297, allocations: 51.41 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.2971, allocations: 106.4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2972, allocations: 29.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2972, allocations: 84.14 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2972, allocations: 16.03 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.2973, allocations: 21.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2974, allocations: 314.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.2974, allocations: 11.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.2975, allocations: 35.44 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.2975, allocations: 51.3 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2975, allocations: 7.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.2977, allocations: 73.56 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2977, allocations: 5.875 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2977, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2977, allocations: 8.047 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.2978, allocations: 8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2978, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.2978, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2979, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 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.408e-05/0.2979, allocations: 125.7 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.298, allocations: 3.906 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.298, allocations: 12.08 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.298, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.298, allocations: 8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.298, allocations: 3.984 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.2983, allocations: 294.6 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2983, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.2983, allocations: 7.984 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2983, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2984, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2984, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2984, allocations: 3.938 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2985, allocations: 163.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.2986, allocations: 85.02 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2986, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.2986, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2987, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.2987, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.2987, allocations: 83.27 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2987, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002981/0.299, allocations: 31.94 kB / 1.092 GB, free: 12.93 MB / 0.8575 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.0006828/0.2997, allocations: 0.7926 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.2998, allocations: 35.92 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2999, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.2999, allocations: 16 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.3001, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3012, allocations: 1.254 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3015, allocations: 0.6846 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3015, allocations: 4.234 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3015, allocations: 15.44 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3015, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.3194, allocations: 2.037 MB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.185, allocations: 9.344 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y