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.004186/0.004186, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.001101/0.001101, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6859, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001933/0.6879, allocations: 1.224 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007084/0.6886, allocations: 425.1 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.6887, allocations: 0 / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.6887, allocations: 12.39 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.6887, allocations: 1.062 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.6892, allocations: 107.9 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.6893, allocations: 19.28 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.6893, allocations: 2.203 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.6893, allocations: 6.5 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.698e-05/0.6894, allocations: 16.83 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.6894, allocations: 1.094 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.6896, allocations: 101.9 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.6896, allocations: 10.89 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.6896, allocations: 11.72 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.6898, allocations: 92.86 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.6898, allocations: 0 / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6898, allocations: 3.938 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.6898, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8575 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.0003408/0.6902, allocations: 381.3 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6902, allocations: 10 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.6903, allocations: 37.09 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.6903, allocations: 6.781 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.009e-05/0.6904, allocations: 162.8 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.6904, allocations: 2.266 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6904, allocations: 3.031 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.6905, allocations: 46 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.6905, allocations: 4.781 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.6905, allocations: 0 / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6905, allocations: 4.984 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.6906, allocations: 5.719 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.6908, allocations: 252.5 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.6909, allocations: 35.75 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.691, allocations: 19.47 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.691, allocations: 5.062 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.6911, allocations: 63.38 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.6911, allocations: 0 / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001846/0.6913, allocations: 66.56 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.6913, allocations: 58.11 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.6914, allocations: 105.9 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.6914, allocations: 29.7 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.555e-05/0.6914, allocations: 82.31 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.6914, allocations: 15 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.6915, allocations: 25.17 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.6915, allocations: 318 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.6915, allocations: 10.62 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.6916, allocations: 34.31 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.6916, allocations: 48.44 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6916, allocations: 7.938 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.6918, allocations: 72.89 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6918, allocations: 6 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6918, allocations: 0.9375 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6918, allocations: 2.609 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.6919, allocations: 11.58 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6919, allocations: 3.219 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.6919, allocations: 1.375 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.6919, allocations: 6.906 kB / 1.091 GB, free: 2.113 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 4.913e-05/0.692, allocations: 127.8 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.692, allocations: 2.5 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.692, allocations: 9.766 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.692, allocations: 1.062 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.692, allocations: 0 / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.692, allocations: 4.781 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.6922, allocations: 300.1 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6922, allocations: 0.5156 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.6923, allocations: 4.422 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6923, allocations: 4 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.6923, allocations: 1.594 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6923, allocations: 1.125 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6923, allocations: 0 / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.6924, allocations: 169.5 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.6924, allocations: 83.31 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.6924, allocations: 1.641 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.6925, allocations: 4.938 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.6925, allocations: 7.25 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.6925, allocations: 1.844 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.6926, allocations: 83.7 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6926, allocations: 0 / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002903/0.6929, allocations: 34.16 kB / 1.092 GB, free: 1.312 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.0005713/0.6934, allocations: 0.7769 MB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6936, allocations: 33.75 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6936, allocations: 0 / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.6936, allocations: 14.98 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.6938, allocations: 9.859 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.6948, allocations: 1.265 MB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.695, allocations: 0.6817 MB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.695, allocations: 3.938 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.695, allocations: 10.48 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6951, allocations: 4.844 kB / 1.095 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.7125, allocations: 2.009 MB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.174, allocations: 11.23 kB / 1.097 GB, free: 14.16 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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:time,y