Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.005479/0.005479, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001607/0.001607, allocations: 193 kB / 16.68 MB, free: 6.363 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.739/2.739, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2969, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002366/0.2993, allocations: 1.227 MB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000941/0.3002, allocations: 470.8 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.3003, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.3003, allocations: 3.938 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.3004, allocations: 0 / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.301, allocations: 115.6 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.301, allocations: 15.98 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3011, allocations: 11.92 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.3011, allocations: 7.938 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.3011, allocations: 15.92 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3012, allocations: 4 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3014, allocations: 99.89 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3014, allocations: 4 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.3015, allocations: 7.938 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3017, allocations: 107.9 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3017, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3017, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3017, allocations: 3.938 kB / 1.168 GB, free: 5.281 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005259/0.3022, allocations: 388.9 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3023, allocations: 12.03 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.3023, allocations: 30.75 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3024, allocations: 4.938 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3025, allocations: 172.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3025, allocations: 4.375 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3025, allocations: 384 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3027, allocations: 38.25 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3027, allocations: 3.938 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.3027, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3027, allocations: 4 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.3027, allocations: 23.86 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3031, allocations: 244.9 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.3032, allocations: 38.5 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3032, allocations: 16.86 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.3033, allocations: 4 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3034, allocations: 63.42 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.3035, allocations: 0 / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.000221/0.3037, allocations: 73.67 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3037, allocations: 55.41 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.3038, allocations: 106 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3039, allocations: 33.7 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.3039, allocations: 80.14 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3039, allocations: 11.95 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.304, allocations: 21.72 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3042, allocations: 314.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.3042, allocations: 12.25 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.3043, allocations: 39.36 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3044, allocations: 51.38 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3044, allocations: 3.938 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001757/0.3046, allocations: 81.55 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3046, allocations: 4 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3046, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3047, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.3047, allocations: 8 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3048, allocations: 3.984 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.3048, allocations: 8.062 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3048, allocations: 4 kB / 1.17 GB, free: 3.09 MB / 0.92 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 0.0001098/0.305, allocations: 121.7 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.305, allocations: 3.953 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.305, allocations: 11.97 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.305, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3051, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3051, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.3054, allocations: 306.5 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3054, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.3055, allocations: 7.938 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3055, allocations: 3.938 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3055, allocations: 3.984 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3055, allocations: 4 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3055, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3057, allocations: 159.5 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.3057, allocations: 85.06 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3058, allocations: 3.984 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.3058, allocations: 4.125 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.3058, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3059, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.3059, allocations: 87.27 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003604/0.3063, allocations: 35.88 kB / 1.171 GB, free: 2.152 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 (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.0007697/0.3071, allocations: 0.7759 MB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.3072, allocations: 35.91 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3072, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.3073, allocations: 24.11 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3075, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.3086, allocations: 1.294 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3089, allocations: 0.6845 MB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.3089, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.309, allocations: 19.42 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.3309, allocations: 2.072 MB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.177, allocations: 11.64 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_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_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y