Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001/0.001, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001093/0.001093, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437.8 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 11.94 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8887/0.889, allocations: 153.8 MB / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001462/0.8905, allocations: 0.937 MB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.8914, allocations: 402.9 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.8915, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.8915, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.8916, allocations: 3.938 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.892, allocations: 95.77 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.8921, allocations: 8 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.8922, allocations: 7.984 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.8922, allocations: 11.94 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.8922, allocations: 7.969 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.8923, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.8924, allocations: 91.84 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.8925, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.8925, allocations: 29.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.8927, allocations: 63.89 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8927, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8927, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.8927, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 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.0004884/0.8932, allocations: 375.1 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8932, allocations: 12.56 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.8933, allocations: 0 / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.8934, allocations: 167 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.8934, allocations: 8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.8934, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.8936, allocations: 41.64 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.8936, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8936, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8936, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.8936, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.8938, allocations: 161.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.8939, allocations: 26.52 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.894, allocations: 20.94 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.894, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.8941, allocations: 59.34 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.8941, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.8944, allocations: 69.61 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8944, allocations: 55.39 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.8945, allocations: 109.8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.8945, allocations: 29.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.8946, allocations: 80.14 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.8946, allocations: 11.91 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.8946, allocations: 3.938 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8947, allocations: 310.8 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.8947, allocations: 11.98 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.8948, allocations: 31.44 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.8948, allocations: 11.98 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8948, allocations: 4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001014/0.8949, allocations: 69.47 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.895, allocations: 11.95 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.895, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.895, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.8951, allocations: 12 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8951, allocations: 8.188 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.8951, allocations: 4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8951, allocations: 3.984 kB / 1.026 GB, free: 12.57 MB / 0.7794 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/0.8952, allocations: 121.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-06/0.8952, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.8953, allocations: 11.45 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8953, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8953, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.8953, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.8954, allocations: 157.7 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8954, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.8955, allocations: 8 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8955, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8955, allocations: 3.984 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.8955, allocations: 3.953 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8955, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.8956, allocations: 81.03 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.8957, allocations: 89.09 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.8957, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.8957, allocations: 480 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.8958, allocations: 7.891 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.8958, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.8958, allocations: 91.25 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8958, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002441/0.8961, allocations: 24 kB / 1.026 GB, free: 11.88 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000353/0.8964, allocations: 165.5 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.8966, allocations: 31.92 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8966, allocations: 3.938 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.8966, allocations: 15.98 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.8968, allocations: 2.031 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.8971, allocations: 112.9 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.8973, allocations: 0.677 MB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.8974, allocations: 4 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.8974, allocations: 7.438 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8974, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.003315/0.9007, allocations: 1.013 MB / 1.028 GB, free: 9.805 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y