Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logit1DQuadratic,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_9_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.001239/0.001243, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001259/0.001259, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5013, allocations: 140.4 MB / 0.9492 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001745/0.5031, allocations: 1.275 MB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.5037, allocations: 461.9 kB / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.5037, allocations: 0 / 0.9509 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.5037, allocations: 7.922 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.5038, allocations: 1.156 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.5042, allocations: 90.55 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.5042, allocations: 26.47 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.5043, allocations: 1.281 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.5043, allocations: 17.41 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.5043, allocations: 10.39 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5043, allocations: 1.312 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.5045, allocations: 108.8 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.5045, allocations: 1.25 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.5045, allocations: 15.52 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.5047, allocations: 99.94 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5047, allocations: 0 / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5047, allocations: 0 / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5047, allocations: 1.219 kB / 0.9513 GB, free: 7.496 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.0003156/0.505, allocations: 380.2 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.5051, allocations: 10.12 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.5051, allocations: 39.84 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.5051, allocations: 6.516 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.498e-05/0.5052, allocations: 173.9 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5052, allocations: 1.875 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.5052, allocations: 3.281 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.5053, allocations: 40.84 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.5053, allocations: 11.81 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5054, allocations: 5.547 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.5054, allocations: 3.984 kB / 0.9519 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.5054, allocations: 3.938 kB / 0.9519 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.5056, allocations: 252.7 kB / 0.9522 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.5057, allocations: 38.06 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.5057, allocations: 17.48 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.5058, allocations: 0 / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.5059, allocations: 68.95 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5059, allocations: 1.344 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001709/0.506, allocations: 69.42 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.5061, allocations: 53.53 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.287e-05/0.5061, allocations: 108.3 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.5061, allocations: 26.83 kB / 0.9525 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.5062, allocations: 81.42 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.5062, allocations: 22.19 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.5062, allocations: 23.02 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.5062, allocations: 316.2 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.5063, allocations: 5.281 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.5063, allocations: 35.7 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.5063, allocations: 51.19 kB / 0.9531 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5064, allocations: 3.938 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.494e-05/0.5064, allocations: 71.27 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.5065, allocations: 4.406 kB / 0.9531 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5065, allocations: 5.25 kB / 0.9531 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.5065, allocations: 1.312 kB / 0.9531 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.5065, allocations: 11.95 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5066, allocations: 5.344 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.5066, allocations: 17.31 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.5066, allocations: 2.906 kB / 0.9532 GB, free: 5.508 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.18e-05/0.5066, allocations: 116.5 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.5067, allocations: 2.812 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.5067, allocations: 5.375 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5067, allocations: 0 / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5067, allocations: 0 / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5067, allocations: 1.375 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.5069, allocations: 315.1 kB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5069, allocations: 0 / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.5069, allocations: 6.703 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5069, allocations: 1.156 kB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5069, allocations: 13.27 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.5069, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5069, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.507, allocations: 160.7 kB / 0.9538 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.5071, allocations: 82.06 kB / 0.9538 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5071, allocations: 9.094 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.5071, allocations: 0.875 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.5072, allocations: 2 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.5072, allocations: 1.188 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.5072, allocations: 87.36 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5072, allocations: 1.188 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002616/0.5075, allocations: 36.16 kB / 0.954 GB, free: 4.68 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.0004608/0.5079, allocations: 0.77 MB / 0.9547 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.508, allocations: 41.11 kB / 0.9548 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5081, allocations: 0 / 0.9548 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.5081, allocations: 14.41 kB / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.5083, allocations: 15.22 kB / 0.9548 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.509, allocations: 1.284 MB / 0.9561 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.002e-05/0.5091, allocations: 0.6871 MB / 0.9567 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.5091, allocations: 3.125 kB / 0.9567 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.5092, allocations: 8.375 kB / 0.9567 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5092, allocations: 0.875 kB / 0.9567 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.5197, allocations: 1.973 MB / 0.9587 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.5198, allocations: 254.1 kB / 0.9589 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.094, allocations: 7.625 kB / 0.9589 GB, free: 0.6602 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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:A,B,C,D,seed,time,x,y