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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001503, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001866/0.001866, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.338/2.338, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7133, allocations: 140.4 MB / 0.9489 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002013/0.7153, allocations: 1.284 MB / 0.9502 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007756/0.7161, allocations: 459.2 kB / 0.9506 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.7162, allocations: 4 kB / 0.9506 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.7162, allocations: 0 / 0.9506 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.7162, allocations: 0 / 0.9506 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.7167, allocations: 100.3 kB / 0.9507 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.7168, allocations: 11.19 kB / 0.9507 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.7168, allocations: 9.484 kB / 0.9507 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.7169, allocations: 9.281 kB / 0.9507 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.7169, allocations: 10.67 kB / 0.9507 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.7169, allocations: 5.406 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.7171, allocations: 103.8 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.7171, allocations: 9.359 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.7172, allocations: 12.06 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.7173, allocations: 99.67 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7174, allocations: 0 / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7174, allocations: 1.375 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7174, allocations: 0 / 0.951 GB, free: 7.488 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.0004143/0.7178, allocations: 389 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7178, allocations: 9.625 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.7179, allocations: 6.219 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.773e-05/0.7179, allocations: 177.6 kB / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.718, allocations: 1.75 kB / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.718, allocations: 3.125 kB / 0.9515 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7181, allocations: 45.11 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.7181, allocations: 192 / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7181, allocations: 9.25 kB / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7182, allocations: 0 / 0.9516 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.432e-05/0.7182, allocations: 8.125 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.7183, allocations: 155.2 kB / 0.9517 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.7184, allocations: 39.98 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.7184, allocations: 11.73 kB / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.7184, allocations: 0 / 0.9518 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.7186, allocations: 57.11 kB / 0.9518 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7186, allocations: 1.375 kB / 0.9518 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002165/0.7188, allocations: 84.97 kB / 0.9519 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.7189, allocations: 58.14 kB / 0.952 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.7189, allocations: 99.36 kB / 0.9521 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.7189, allocations: 31.08 kB / 0.9521 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.719, allocations: 85.5 kB / 0.9522 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.719, allocations: 9.281 kB / 0.9522 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.719, allocations: 19.22 kB / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.071e-05/0.7191, allocations: 316.2 kB / 0.9525 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.7191, allocations: 13.5 kB / 0.9525 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.7192, allocations: 40.53 kB / 0.9526 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.7192, allocations: 54.92 kB / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7192, allocations: 1.125 kB / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001006/0.7193, allocations: 80.17 kB / 0.9527 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7193, allocations: 13.52 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.7194, allocations: 1.375 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7194, allocations: 1.469 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.7195, allocations: 7.125 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.7195, allocations: 2.938 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.7195, allocations: 1.781 kB / 0.9527 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7195, allocations: 7.438 kB / 0.9527 GB, free: 5.621 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * 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 5.922e-05/0.7196, allocations: 120.4 kB / 0.9528 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.7196, allocations: 10.77 kB / 0.9529 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.7196, allocations: 7.562 kB / 0.9529 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.7196, allocations: 1.344 kB / 0.9529 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7196, allocations: 4 kB / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7196, allocations: 0 / 0.9529 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.816e-05/0.7197, allocations: 163.5 kB / 0.953 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7197, allocations: 0 / 0.953 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.7198, allocations: 6.469 kB / 0.953 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7198, allocations: 5.25 kB / 0.953 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.7198, allocations: 9.203 kB / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7198, allocations: 0 / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7198, allocations: 0 / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.7199, allocations: 94.47 kB / 0.9531 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.7199, allocations: 78.2 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.72, allocations: 9.453 kB / 0.9532 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.72, allocations: 4 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.72, allocations: 2.438 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.72, allocations: 1.188 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.281e-05/0.72, allocations: 87.48 kB / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7201, allocations: 0 / 0.9533 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002513/0.7203, allocations: 28.16 kB / 0.9533 GB, free: 4.98 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,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.0003074/0.7206, allocations: 157.8 kB / 0.9535 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.7207, allocations: 33.42 kB / 0.9535 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7207, allocations: 0 / 0.9535 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.7208, allocations: 21.77 kB / 0.9535 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.7209, allocations: 5.188 kB / 0.9535 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.7211, allocations: 127.1 kB / 0.9537 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.077e-05/0.7212, allocations: 0.6797 MB / 0.9543 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.7213, allocations: 1.531 kB / 0.9543 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.7213, allocations: 14.33 kB / 0.9543 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.7213, allocations: 0 / 0.9543 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.003346/0.7246, allocations: 1.08 MB / 0.9554 GB, free: 3.43 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,t0,time,y