Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Logit2D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_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.004928/0.004928, allocations: 97.97 kB / 15.73 MB, free: 6.062 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.001273/0.001273, allocations: 202.6 kB / 16.68 MB, free: 5.977 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.717/2.717, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 1.018 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 151.6 MB / 1.166 GB, free: 7.426 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002383/0.2974, allocations: 1.219 MB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.2983, allocations: 458.8 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.2984, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2984, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.2985, allocations: 7.938 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.299, allocations: 111.6 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.2991, allocations: 23.92 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.2991, allocations: 0 / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2992, allocations: 19.92 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.2992, allocations: 3.984 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2992, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.2995, allocations: 107.8 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2995, allocations: 3.938 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.2995, allocations: 15.92 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2997, allocations: 99.97 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2998, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2998, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.2998, allocations: 0 / 1.168 GB, free: 5.348 MB / 0.92 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.0005459/0.3003, allocations: 388.9 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3004, allocations: 16.02 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.618e-05/0.3004, allocations: 34.7 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.3005, allocations: 0.9375 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3006, allocations: 164.4 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3006, allocations: 384 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3007, allocations: 16.31 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3008, allocations: 46.23 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3008, allocations: 3.938 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.3008, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3008, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.3009, allocations: 8 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.3012, allocations: 252.9 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.3013, allocations: 42.44 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.3014, allocations: 24.95 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3014, allocations: 3.938 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3015, allocations: 55.41 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3016, allocations: 0 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002238/0.3018, allocations: 81.61 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3018, allocations: 63.41 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.3019, allocations: 101.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.302, allocations: 29.64 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.302, allocations: 84.14 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.302, allocations: 15.86 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.3021, allocations: 25.7 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3022, allocations: 314.8 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.3023, allocations: 12.48 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.3023, allocations: 40.3 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.981e-05/0.3024, allocations: 60.22 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3024, allocations: 3.938 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001255/0.3025, allocations: 85.55 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3025, allocations: 8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3026, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3026, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.3026, allocations: 11.94 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3027, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3027, allocations: 11.95 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3027, allocations: 4 kB / 1.17 GB, free: 3.102 MB / 0.92 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 9.212e-05/0.3028, allocations: 125.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3028, allocations: 4 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.3028, allocations: 3.969 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3029, allocations: 0 / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3029, allocations: 4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3029, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.3032, allocations: 310.5 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3032, allocations: 4 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.3032, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3032, allocations: 4 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3032, allocations: 3.984 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3032, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3033, allocations: 3.938 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3034, allocations: 167.4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.3035, allocations: 81.11 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3035, allocations: 4.172 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.3036, allocations: 7.938 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.3036, allocations: 7.938 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3036, allocations: 4.125 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.3037, allocations: 87.27 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3037, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003274/0.304, allocations: 39.81 kB / 1.171 GB, free: 2.145 MB / 0.92 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.0009464/0.305, allocations: 0.7828 MB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.3051, allocations: 35.92 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3051, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.3052, allocations: 19.94 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3054, allocations: 4 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3069, allocations: 1.317 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3073, allocations: 0.6834 MB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.3073, allocations: 7.938 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.3074, allocations: 19.38 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3074, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3319, allocations: 2.092 MB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.251, allocations: 18 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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