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.001426/0.001426, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001567/0.001567, allocations: 190.8 kB / 16.25 MB, free: 6.645 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.434 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.117/2.117, allocations: 390.3 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.09 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4908, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001829/0.4927, allocations: 1.288 MB / 0.9505 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000608/0.4933, allocations: 449.2 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.4933, allocations: 1.531 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.4933, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.504e-05/0.4934, allocations: 0 / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.4938, allocations: 98.55 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.4939, allocations: 19.22 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.4939, allocations: 5.234 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.4939, allocations: 13.44 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.494, allocations: 14.66 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.494, allocations: 5.25 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.4941, allocations: 109.4 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.4941, allocations: 1.375 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4942, allocations: 16.05 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.4943, allocations: 97.05 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4943, allocations: 0 / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4943, allocations: 0 / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4944, allocations: 0 / 0.9513 GB, free: 7.477 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.0003253/0.4947, allocations: 385.3 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4947, allocations: 13.62 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.4948, allocations: 32.12 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.4948, allocations: 7.594 kB / 0.9517 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.673e-05/0.4949, allocations: 169.6 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4949, allocations: 1.75 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.4949, allocations: 15.05 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.495, allocations: 42.5 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.495, allocations: 3.938 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.495, allocations: 0 / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.495, allocations: 1.375 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.4951, allocations: 13.44 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.4953, allocations: 252 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.4953, allocations: 36.08 kB / 0.9522 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.4954, allocations: 21.22 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.4954, allocations: 1.375 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.891e-05/0.4955, allocations: 58.41 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4955, allocations: 0 / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001789/0.4957, allocations: 90.23 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4957, allocations: 53 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.4958, allocations: 104.1 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.4958, allocations: 27.14 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.4958, allocations: 84.14 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.4958, allocations: 23.03 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.4959, allocations: 19.38 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.4959, allocations: 317.2 kB / 0.953 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.4959, allocations: 8.859 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.496, allocations: 45.34 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.496, allocations: 61.55 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.496, allocations: 5.531 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.885e-05/0.4961, allocations: 81.78 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.4961, allocations: 5.062 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4961, allocations: 1.594 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.4962, allocations: 5.5 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.4962, allocations: 12.94 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4962, allocations: 1.156 kB / 0.9532 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.4963, allocations: 14.8 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.4963, allocations: 2.719 kB / 0.9532 GB, free: 5.457 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.378e-05/0.4963, allocations: 116.9 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.4963, allocations: 2.625 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.4964, allocations: 9.344 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4964, allocations: 0 / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4964, allocations: 5.062 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4964, allocations: 0 / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4965, allocations: 314.5 kB / 0.9536 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4966, allocations: 64 / 0.9536 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.4966, allocations: 12.34 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4966, allocations: 1.094 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4966, allocations: 3.984 kB / 0.9536 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4966, allocations: 1.281 kB / 0.9536 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4966, allocations: 0 / 0.9536 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.4967, allocations: 171.3 kB / 0.9538 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.4967, allocations: 82.34 kB / 0.9539 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4968, allocations: 1.281 kB / 0.9539 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.4968, allocations: 5.5 kB / 0.9539 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.4968, allocations: 1.438 kB / 0.9539 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4968, allocations: 1.188 kB / 0.9539 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.834e-05/0.4969, allocations: 83.2 kB / 0.954 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4969, allocations: 0 / 0.954 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002546/0.4971, allocations: 45.59 kB / 0.954 GB, free: 4.621 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.0004512/0.4976, allocations: 0.7749 MB / 0.9548 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.4977, allocations: 51.11 kB / 0.9548 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4977, allocations: 0 / 0.9548 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.4978, allocations: 15.44 kB / 0.9548 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4979, allocations: 10.8 kB / 0.9549 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.4986, allocations: 1.317 MB / 0.9561 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.076e-05/0.4987, allocations: 0.6838 MB / 0.9568 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.4988, allocations: 6.516 kB / 0.9568 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.4988, allocations: 10.19 kB / 0.9568 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4988, allocations: 4 kB / 0.9568 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.51, allocations: 1.978 MB / 0.9588 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.5101, allocations: 244.4 kB / 0.959 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.183, allocations: 1.469 kB / 0.959 GB, free: 0.5547 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,C,seed,time,x1,x2,y