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.004088/0.004088, allocations: 102 kB / 15.73 MB, free: 6.043 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.001074/0.001074, allocations: 195 kB / 16.67 MB, free: 5.965 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.8082, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002196/0.8104, allocations: 1.219 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000832/0.8113, allocations: 438.8 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.8113, allocations: 0 / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.8114, allocations: 0 / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.8114, allocations: 5.453 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.8119, allocations: 106.5 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.812, allocations: 19.83 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.8121, allocations: 7.109 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.8121, allocations: 4.953 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.8121, allocations: 14.27 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.8122, allocations: 0.7188 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.8124, allocations: 105.4 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.8124, allocations: 2.828 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.8124, allocations: 16.61 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.8127, allocations: 92.3 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8127, allocations: 1.281 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8127, allocations: 4 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8127, allocations: 0 / 1.089 GB, free: 4.008 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.00042/0.8131, allocations: 371.1 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8132, allocations: 10.11 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.8132, allocations: 44.53 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.8133, allocations: 3.562 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.125e-05/0.8133, allocations: 166.8 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.8134, allocations: 2.688 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8134, allocations: 3.141 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.8135, allocations: 44.89 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8135, allocations: 4.453 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.8135, allocations: 0.8438 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8135, allocations: 1.156 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.8136, allocations: 5.656 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.8139, allocations: 247.5 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.814, allocations: 44.98 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.814, allocations: 14.66 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.814, allocations: 1.188 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.8142, allocations: 62.67 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.8142, allocations: 0 / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002094/0.8144, allocations: 75.38 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.8144, allocations: 57.81 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.8145, allocations: 102.1 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.8145, allocations: 26.98 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.8145, allocations: 86.25 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.8146, allocations: 9.734 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.8146, allocations: 24.81 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.8146, allocations: 317.7 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.8147, allocations: 7.938 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.8147, allocations: 36.92 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.8148, allocations: 53.64 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8148, allocations: 4.188 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001033/0.8149, allocations: 77.45 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8149, allocations: 8.719 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8149, allocations: 5.219 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8149, allocations: 2 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.815, allocations: 9.344 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.815, allocations: 1.641 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.815, allocations: 2.188 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.8151, allocations: 2.797 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 6.528e-05/0.8151, allocations: 121.2 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.8151, allocations: 6.766 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.8152, allocations: 8.078 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8152, allocations: 1.516 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8152, allocations: 0 / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8152, allocations: 1.641 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.8154, allocations: 303 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.8154, allocations: 1.828 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.8155, allocations: 2.969 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8155, allocations: 0.75 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.8155, allocations: 1.844 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8155, allocations: 1.031 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8155, allocations: 4 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.8156, allocations: 165.2 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.8156, allocations: 88.02 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8157, allocations: 2.016 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.8157, allocations: 0 / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.8157, allocations: 3.438 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.8158, allocations: 1.469 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.8158, allocations: 84.53 kB / 1.092 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8158, allocations: 0 / 1.092 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003056/0.8161, allocations: 42.08 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.0006524/0.8168, allocations: 0.7815 MB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.8169, allocations: 32.38 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8169, allocations: 0 / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.817, allocations: 14.77 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.0002098/0.8172, allocations: 2.969 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.8183, allocations: 1.271 MB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.8185, allocations: 0.6776 MB / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.8186, allocations: 3.875 kB / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.8186, allocations: 10.48 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8186, allocations: 0.75 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.8381, allocations: 2.03 MB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/8.331, allocations: 1.531 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