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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001208/0.001208, allocations: 187 kB / 17.34 MB, free: 5.762 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8104, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002152/0.8126, allocations: 1.218 MB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.8134, allocations: 433.3 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.8135, allocations: 5.438 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.8135, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.8136, allocations: 4 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.8141, allocations: 111.2 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.8142, allocations: 20.97 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.8142, allocations: 1.969 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.8142, allocations: 4.547 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.8143, allocations: 13.12 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.8143, allocations: 1 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.8145, allocations: 106.4 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.8145, allocations: 10.62 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.8146, allocations: 8.609 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.8148, allocations: 100 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.8148, allocations: 0.75 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8148, allocations: 0 / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8148, allocations: 0 / 1.091 GB, free: 4.227 MB / 0.8575 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.0004238/0.8153, allocations: 378.2 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8153, allocations: 8.562 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.8153, allocations: 6.875 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.725e-05/0.8154, allocations: 167.6 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.8154, allocations: 1.625 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.8155, allocations: 7.781 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.8156, allocations: 43.92 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8156, allocations: 192 / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8156, allocations: 4.453 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8156, allocations: 1.125 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.8156, allocations: 4.938 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.8158, allocations: 154.4 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.8158, allocations: 32.3 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.8159, allocations: 15.78 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.8159, allocations: 0.8438 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.816, allocations: 53.84 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8161, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.8163, allocations: 73.66 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.8163, allocations: 56.97 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.8164, allocations: 109.8 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.8164, allocations: 25.7 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.8164, allocations: 86.86 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.8164, allocations: 9.547 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.8165, allocations: 21.08 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.8165, allocations: 317.5 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.8165, allocations: 6.328 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.8166, allocations: 36.08 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.8166, allocations: 50.16 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8166, allocations: 0.8438 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.58e-05/0.8167, allocations: 65.81 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8168, allocations: 13.25 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8168, allocations: 1.344 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8168, allocations: 2.328 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.8169, allocations: 10.98 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.8169, allocations: 1.281 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.8169, allocations: 4.516 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8169, allocations: 2.812 kB / 1.092 GB, free: 2.469 MB / 0.8575 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 (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 (7): * Single equations (assignments): 7 * 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.463e-05/0.817, allocations: 114 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.817, allocations: 9.156 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.817, allocations: 9.922 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.817, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.817, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8171, allocations: 2 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.715e-05/0.8171, allocations: 153.7 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8171, allocations: 1.125 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.8172, allocations: 2 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8172, allocations: 5.25 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.8172, allocations: 0.6562 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8172, allocations: 1.125 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8172, allocations: 8.547 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.8173, allocations: 80.66 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.8173, allocations: 82.75 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.8174, allocations: 9.562 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.8174, allocations: 5.625 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.8174, allocations: 2.266 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.8174, allocations: 2.844 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.8175, allocations: 86.66 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8175, allocations: 1.125 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002729/0.8177, allocations: 28.56 kB / 1.093 GB, free: 1.863 MB / 0.8575 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 (4): * Single equations (assignments): 2 * 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.0003148/0.8181, allocations: 173.5 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.8182, allocations: 29.59 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8182, allocations: 4.188 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.8182, allocations: 22.12 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.8184, allocations: 4.828 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.8186, allocations: 125.9 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.852e-05/0.8187, allocations: 0.6768 MB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.8187, allocations: 9.438 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8187, allocations: 0 / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of Templates: time 0.003317/0.822, allocations: 1.23 MB / 1.095 GB, free: 0.7539 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (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 & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/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) Reference file matches