Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_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.006967/0.006967, allocations: 99.83 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.001647/0.001647, 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.6997, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002194/0.7019, allocations: 1.231 MB / 1.167 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.7028, allocations: 433 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.7028, allocations: 4 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.7028, allocations: 3.938 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.441e-05/0.7029, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.7035, allocations: 107.6 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.7036, allocations: 15.94 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.7036, allocations: 7.984 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.7036, allocations: 11.92 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.932e-05/0.7037, allocations: 7.984 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.7037, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.7039, allocations: 103.8 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.704, allocations: 7.922 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.704, allocations: 8 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.7042, allocations: 91.47 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7042, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7042, allocations: 4 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7042, allocations: 0 / 1.168 GB, free: 1.797 MB / 0.8887 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.0004597/0.7047, allocations: 384.8 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7047, allocations: 8.922 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.7048, allocations: 38.73 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.7048, allocations: 8.891 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.7049, allocations: 160.4 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.705, allocations: 4.375 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.705, allocations: 8.312 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.7051, allocations: 46.23 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7051, allocations: 7.875 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.7051, allocations: 0 / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7051, allocations: 0 / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/0.7052, allocations: 4 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.7055, allocations: 249 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.7056, allocations: 42.44 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.7056, allocations: 8.859 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.7056, allocations: 4.094 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.7057, allocations: 59.39 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.7058, allocations: 0 / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002018/0.706, allocations: 81.56 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.706, allocations: 51.41 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.7061, allocations: 105.8 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.7061, allocations: 29.7 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.7061, allocations: 84.12 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.7062, allocations: 15.89 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.7062, allocations: 21.72 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.7063, allocations: 314.8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.7063, allocations: 16 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.7064, allocations: 35.61 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.7064, allocations: 47.36 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7065, allocations: 8.188 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001035/0.7066, allocations: 73.61 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7066, allocations: 4 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7066, allocations: 11.94 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7066, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.7067, allocations: 11.94 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7067, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.7067, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.7067, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 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 7.187e-05/0.7068, allocations: 121.8 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.7068, allocations: 7.953 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.7069, allocations: 7.562 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7069, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7069, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7069, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.7071, allocations: 306.5 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7071, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.7072, allocations: 7.938 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7072, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7072, allocations: 4 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7072, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7072, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.7074, allocations: 167.4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.7074, allocations: 89 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.7074, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.7075, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.7075, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.7075, allocations: 8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.7076, allocations: 83.28 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7076, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002908/0.7079, allocations: 31.86 kB / 1.171 GB, free: 14.69 MB / 0.9044 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.0006485/0.7085, allocations: 0.7732 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.7086, allocations: 31.92 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7086, allocations: 4 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.7087, allocations: 15.94 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.7089, allocations: 7.984 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.7099, allocations: 1.278 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.7101, allocations: 0.6824 MB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.7101, allocations: 0 / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.7102, allocations: 11.44 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.7102, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.7275, allocations: 2.008 MB / 1.175 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.384, allocations: 17.91 kB / 1.175 GB, free: 9.82 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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