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.00185/0.00185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.35/2.35, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6118, allocations: 140.4 MB / 0.9497 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001854/0.6137, allocations: 1.221 MB / 0.9509 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006767/0.6143, allocations: 443.5 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.6144, allocations: 1.25 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.6144, allocations: 3.938 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.595e-05/0.6144, allocations: 4 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.6149, allocations: 114.9 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.6149, allocations: 18.61 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.615, allocations: 1.062 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.615, allocations: 18.08 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.615, allocations: 11.02 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.6151, allocations: 1.188 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.6152, allocations: 108.6 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.6153, allocations: 10.67 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.6153, allocations: 6.656 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.6155, allocations: 108.4 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6155, allocations: 0 / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6155, allocations: 1.281 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6155, allocations: 0 / 0.9517 GB, free: 7.562 MB / 0.7169 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.000338/0.6158, allocations: 384.9 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.6159, allocations: 9.875 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.6159, allocations: 31.91 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.6159, allocations: 6.906 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.312e-05/0.616, allocations: 177.3 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.616, allocations: 6.625 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.6161, allocations: 6.688 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.6161, allocations: 42.12 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6162, allocations: 3.938 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.6162, allocations: 1 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6162, allocations: 4.938 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.6162, allocations: 12.52 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.6165, allocations: 249.5 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.6165, allocations: 36.09 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.6166, allocations: 20.66 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.6166, allocations: 1.281 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6167, allocations: 66.81 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6167, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001908/0.6169, allocations: 85.8 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.617, allocations: 52.91 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.392e-05/0.617, allocations: 99.89 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.617, allocations: 30.83 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.617, allocations: 89.22 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.6171, allocations: 10.5 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.6171, allocations: 24.34 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.6171, allocations: 320.2 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.6172, allocations: 9.031 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.6172, allocations: 45.97 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.6173, allocations: 57.3 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6173, allocations: 3.938 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.981e-05/0.6174, allocations: 82.27 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.6174, allocations: 5.562 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6174, allocations: 1.469 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.6174, allocations: 1.344 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.6175, allocations: 17.05 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6175, allocations: 2.531 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.6175, allocations: 6.031 kB / 0.9536 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6175, allocations: 6.5 kB / 0.9536 GB, free: 5.543 MB / 0.7169 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 4.552e-05/0.6176, allocations: 118.4 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.6176, allocations: 1.375 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.6176, allocations: 5.219 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.6176, allocations: 3.984 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6177, allocations: 5.375 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.6177, allocations: 0 / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6178, allocations: 313 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6179, allocations: 9.125 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.6179, allocations: 4.031 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6179, allocations: 1.688 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6179, allocations: 0 / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6179, allocations: 0 / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6179, allocations: 1.656 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.618, allocations: 170.9 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.6181, allocations: 82.3 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.6181, allocations: 5.375 kB / 0.9543 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.6181, allocations: 0 / 0.9543 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.6182, allocations: 10.52 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.6182, allocations: 1.625 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.6182, allocations: 82.84 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6182, allocations: 0 / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002841/0.6185, allocations: 37.36 kB / 0.9545 GB, free: 4.711 MB / 0.7169 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.0004826/0.619, allocations: 0.7934 MB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.6191, allocations: 39.14 kB / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6191, allocations: 0 / 0.9553 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.6192, allocations: 15.92 kB / 0.9553 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.6194, allocations: 9.531 kB / 0.9553 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.6201, allocations: 1.304 MB / 0.9566 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.6202, allocations: 0.685 MB / 0.9572 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.6202, allocations: 6.281 kB / 0.9572 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.6203, allocations: 14.88 kB / 0.9573 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6203, allocations: 0 / 0.9573 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.6364, allocations: 2.052 MB / 0.9593 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.217, allocations: 4.484 kB / 0.9593 GB, free: 0.793 MB / 0.7169 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