Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.006261/0.006261, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001537/0.001537, allocations: 201.3 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.28 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2455, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002076/0.2476, allocations: 1.219 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000802/0.2484, allocations: 440.3 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.2485, allocations: 3.938 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.2485, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.2485, allocations: 3.938 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.2491, allocations: 115.6 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.353e-05/0.2491, allocations: 23.86 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.2492, allocations: 11.92 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.2492, allocations: 7.984 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.2492, allocations: 15.94 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2493, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.2495, allocations: 103.9 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2495, allocations: 7.984 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2495, allocations: 7.938 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2497, allocations: 115.9 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2497, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2498, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2498, allocations: 0 / 1.089 GB, free: 15.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004397/0.2502, allocations: 392.8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2502, allocations: 8.031 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.2503, allocations: 38.73 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.2503, allocations: 4.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.2504, allocations: 164.3 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.2505, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2505, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2506, allocations: 38.25 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2506, allocations: 11.92 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2506, allocations: 11.92 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2506, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.2507, allocations: 8 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.251, allocations: 252.9 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.2511, allocations: 30.5 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.2511, allocations: 20.98 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2511, allocations: 8 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.2513, allocations: 67.33 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.2513, allocations: 0 / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002079/0.2515, allocations: 81.62 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2516, allocations: 51.41 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.2516, allocations: 105.8 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2516, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.2517, allocations: 88.14 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.2517, allocations: 15.91 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.2518, allocations: 25.64 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.2518, allocations: 314.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.2519, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.2519, allocations: 48.22 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.252, allocations: 60.22 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.252, allocations: 3.938 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001165/0.2521, allocations: 81.52 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2521, allocations: 7.938 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2522, allocations: 4.094 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2522, allocations: 7.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/0.2522, allocations: 8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2523, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.2523, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.2523, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.517e-05/0.2524, allocations: 125.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.2524, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.2524, allocations: 11.95 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2524, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2524, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2525, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.2527, allocations: 307.1 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2527, allocations: 96 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.2528, allocations: 11.94 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2528, allocations: 3.984 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2528, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2528, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2528, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2529, allocations: 171.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.253, allocations: 81.06 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.253, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.2531, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.2531, allocations: 3.984 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2531, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.2531, allocations: 83.28 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2531, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002923/0.2534, allocations: 47.8 kB / 1.092 GB, free: 12.73 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 (6): * Single equations (assignments): 4 * 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.0006295/0.2541, allocations: 0.7745 MB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.2542, allocations: 44.23 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2542, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.2543, allocations: 23.98 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.2545, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.2555, allocations: 1.314 MB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.2557, allocations: 0.6807 MB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.2557, allocations: 7.984 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.2558, allocations: 7.438 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.2558, allocations: 0 / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.2734, allocations: 2.098 MB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.787, allocations: 16 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_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_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y