Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.001634/0.001634, allocations: 108 kB / 15.6 MB, free: 128 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.00191/0.00191, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.317/2.317, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5479, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001959/0.5499, allocations: 1.204 MB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006455/0.5505, allocations: 434.7 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.5506, allocations: 0 / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.5506, allocations: 3.938 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.248e-05/0.5506, allocations: 1.531 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.5511, allocations: 112.8 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.671e-05/0.5511, allocations: 12.81 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.5512, allocations: 1.219 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.5512, allocations: 13.14 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.5512, allocations: 6.438 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.5512, allocations: 5.281 kB / 0.9515 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.5514, allocations: 110.3 kB / 0.9516 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.5514, allocations: 1.531 kB / 0.9516 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.5515, allocations: 14.98 kB / 0.9516 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.5516, allocations: 94.69 kB / 0.9517 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5516, allocations: 0 / 0.9517 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5516, allocations: 0 / 0.9517 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.5516, allocations: 1.594 kB / 0.9517 GB, free: 7.719 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003187/0.552, allocations: 374.9 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.552, allocations: 14.12 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.552, allocations: 34.73 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.5521, allocations: 6.312 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.034e-05/0.5521, allocations: 162 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5521, allocations: 10.09 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.5522, allocations: 7.219 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.5522, allocations: 36.12 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5523, allocations: 3.938 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.5523, allocations: 9.359 kB / 0.9523 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5523, allocations: 3.984 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.5523, allocations: 9 kB / 0.9523 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.5525, allocations: 243.1 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.5526, allocations: 41.66 kB / 0.9526 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.5527, allocations: 17.27 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.5527, allocations: 0 / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.5528, allocations: 64.64 kB / 0.9527 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.5528, allocations: 0 / 0.9527 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.553, allocations: 77.91 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.553, allocations: 56.67 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.846e-05/0.553, allocations: 102.7 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.553, allocations: 27.14 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.578e-05/0.5531, allocations: 85.58 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.5531, allocations: 13.08 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.5531, allocations: 20.19 kB / 0.953 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.5532, allocations: 320.2 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.5532, allocations: 4.75 kB / 0.9533 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.5532, allocations: 36.05 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.5533, allocations: 50 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5533, allocations: 3.938 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.42e-05/0.5534, allocations: 83.11 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5534, allocations: 5.75 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5534, allocations: 0 / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5534, allocations: 6.75 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.5535, allocations: 6.812 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5535, allocations: 1.844 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.5535, allocations: 5.5 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5535, allocations: 2.844 kB / 0.9535 GB, free: 5.75 MB / 0.7169 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 4.295e-05/0.5535, allocations: 120.8 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.5536, allocations: 1.719 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.5536, allocations: 3.844 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5536, allocations: 1.375 kB / 0.9537 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5536, allocations: 3.938 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5536, allocations: 5.422 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.5538, allocations: 312.9 kB / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5538, allocations: 0 / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.5538, allocations: 3.25 kB / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5538, allocations: 0 / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5538, allocations: 4.875 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5538, allocations: 0.875 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5538, allocations: 1.094 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.5539, allocations: 167.1 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.554, allocations: 82.23 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.554, allocations: 2.156 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.412e-05/0.554, allocations: 8 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.5541, allocations: 5.516 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5541, allocations: 2.156 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.5541, allocations: 77.22 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5541, allocations: 1.094 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002765/0.5544, allocations: 43.33 kB / 0.9543 GB, free: 4.914 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 (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.0004621/0.5549, allocations: 0.775 MB / 0.9551 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.515e-05/0.555, allocations: 28.52 kB / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.555, allocations: 128 / 0.9551 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.555, allocations: 20.97 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.5552, allocations: 4.438 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.5559, allocations: 1.26 MB / 0.9564 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.616e-05/0.556, allocations: 0.6857 MB / 0.957 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.665e-05/0.556, allocations: 6.766 kB / 0.9571 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.556, allocations: 13.75 kB / 0.9571 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.556, allocations: 0 / 0.9571 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.5741, allocations: 1.979 MB / 0.959 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.036, allocations: 8 kB / 0.959 GB, free: 1.082 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_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_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y