Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_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.005487/0.005487, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00154/0.00154, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 482.4 MB / 0.7548 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.31 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002159/0.2759, allocations: 1.233 MB / 1.243 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008226/0.2768, allocations: 452.2 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.2768, allocations: 0 / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.2768, allocations: 0 / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.2769, allocations: 3.938 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.2774, allocations: 115.6 kB / 1.243 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.2774, allocations: 19.92 kB / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.2775, allocations: 4 kB / 1.243 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.2775, allocations: 11.94 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.2775, allocations: 15.97 kB / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2776, allocations: 0 / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.2778, allocations: 103.9 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2778, allocations: 7.938 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.2778, allocations: 11.92 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.278, allocations: 107.9 kB / 1.243 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.278, allocations: 7.938 kB / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2781, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2781, allocations: 0 / 1.243 GB, free: 7.23 MB / 0.9669 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.0004793/0.2785, allocations: 384.9 kB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2786, allocations: 8.031 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.2786, allocations: 38.7 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.2787, allocations: 0.9375 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2788, allocations: 164.4 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.2788, allocations: 12.38 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2788, allocations: 4.375 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.279, allocations: 50.17 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.279, allocations: 3.938 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.279, allocations: 0 / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.279, allocations: 0 / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.279, allocations: 11.98 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.2794, allocations: 248.8 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.2794, allocations: 34.58 kB / 1.244 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.2795, allocations: 28.91 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2795, allocations: 3.938 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.2797, allocations: 63.39 kB / 1.244 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2797, allocations: 0 / 1.244 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002123/0.2799, allocations: 73.69 kB / 1.245 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2799, allocations: 59.39 kB / 1.245 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.28, allocations: 102.3 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.28, allocations: 25.7 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.2801, allocations: 92.06 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2801, allocations: 19.84 kB / 1.245 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.2802, allocations: 21.72 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2803, allocations: 318.8 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.2803, allocations: 12 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.2804, allocations: 44.28 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.2805, allocations: 52.3 kB / 1.245 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.2805, allocations: 7.938 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001277/0.2806, allocations: 85.55 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2806, allocations: 8 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2807, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2807, allocations: 192 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.2807, allocations: 15.98 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2807, allocations: 3.938 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.2808, allocations: 3.953 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2808, allocations: 4 kB / 1.245 GB, free: 4.992 MB / 0.9669 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 8.956e-05/0.2809, allocations: 130.3 kB / 1.245 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2809, allocations: 4 kB / 1.245 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.2809, allocations: 7.969 kB / 1.245 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2809, allocations: 0 / 1.245 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.281, allocations: 0 / 1.245 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.281, allocations: 4.078 kB / 1.245 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.2813, allocations: 302.6 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2813, allocations: 3.984 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.2813, allocations: 7.938 kB / 1.246 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2813, allocations: 4 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2813, allocations: 4 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2813, allocations: 3.938 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2813, allocations: 0 / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.2815, allocations: 175.4 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.2816, allocations: 77.11 kB / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2816, allocations: 0 / 1.246 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-05/0.2817, allocations: 4 kB / 1.246 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.2817, allocations: 7.984 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2817, allocations: 8.125 kB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.2818, allocations: 83.28 kB / 1.246 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2818, allocations: 0 / 1.246 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002882/0.2821, allocations: 39.8 kB / 1.246 GB, free: 4.035 MB / 0.9669 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.0007456/0.2828, allocations: 0.7774 MB / 1.247 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.2829, allocations: 35.92 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2829, allocations: 0 / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.283, allocations: 23.92 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2832, allocations: 5.719 kB / 1.247 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2844, allocations: 1.309 MB / 1.248 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2847, allocations: 0.6807 MB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.2847, allocations: 11.94 kB / 1.249 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.2847, allocations: 19.36 kB / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.2847, allocations: 0 / 1.249 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.3066, allocations: 2.1 MB / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.818, allocations: 17.16 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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