Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001174/0.001174, allocations: 100.1 kB / 15.88 MB, free: 12 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.001184/0.001184, allocations: 200.2 kB / 16.79 MB, free: 6.828 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 / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.582/2.582, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.02 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002855/0.3132, allocations: 1.282 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3142, allocations: 442.7 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.3143, allocations: 0 / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.3143, allocations: 3.938 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.3144, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.315, allocations: 87.77 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.315, allocations: 12 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3151, allocations: 8 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.3151, allocations: 11.92 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.3151, allocations: 0 / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3152, allocations: 4 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.3154, allocations: 111.8 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3154, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.3155, allocations: 15.92 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.3156, allocations: 63.91 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3156, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3156, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3156, allocations: 7.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 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.0005154/0.3162, allocations: 381.4 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3162, allocations: 11.97 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3163, allocations: 4.844 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3164, allocations: 168.4 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3164, allocations: 8.297 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3165, allocations: 4.359 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3166, allocations: 38.25 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3166, allocations: 4.188 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3166, allocations: 3.938 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3166, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.587e-05/0.3167, allocations: 8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3168, allocations: 157.7 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.3169, allocations: 34.55 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.317, allocations: 8.859 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.317, allocations: 3.938 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.3172, allocations: 67.48 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3172, allocations: 0 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000224/0.3174, allocations: 69.61 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3175, allocations: 55.34 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.3176, allocations: 101.8 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3176, allocations: 25.7 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.3176, allocations: 88.14 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3177, allocations: 11.81 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3177, allocations: 21.72 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3179, allocations: 318.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.3179, allocations: 8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.318, allocations: 35.42 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.46e-05/0.318, allocations: 43.38 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.318, allocations: 0 / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001159/0.3182, allocations: 65.62 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3182, allocations: 9.031 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3182, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3182, allocations: 4.422 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.3183, allocations: 16.02 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3183, allocations: 4 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.3183, allocations: 4 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3184, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 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 8.215e-05/0.3184, allocations: 109.8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.3185, allocations: 11.84 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3185, allocations: 11.48 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3185, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3185, allocations: 7.922 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3185, allocations: 4 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.3187, allocations: 153.7 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3187, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-05/0.3187, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3187, allocations: 3.938 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3187, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3187, allocations: 4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3187, allocations: 3.938 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.3189, allocations: 89.05 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.3189, allocations: 77.11 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3189, allocations: 7.938 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.319, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.319, allocations: 3.984 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.319, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.3191, allocations: 79.28 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3191, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002631/0.3193, allocations: 39.98 kB / 1.057 GB, free: 3.547 MB / 0.8106 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.0003551/0.3197, allocations: 169.2 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.3198, allocations: 32.09 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3198, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.3199, allocations: 8 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.32, allocations: 14.5 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3203, allocations: 152.3 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3206, allocations: 0.677 MB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.3206, allocations: 11.44 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3206, allocations: 0 / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of Templates: time 0.002917/0.3235, allocations: 1.21 MB / 1.059 GB, free: 1.223 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches