Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001318/0.001318, allocations: 118.8 kB / 16.81 MB, free: 5.754 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.001232/0.001232, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.423/1.423, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 62.94 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002175/0.2909, allocations: 1.214 MB / 1.263 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.2917, allocations: 438.8 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.2917, allocations: 0 / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2917, allocations: 0 / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.2918, allocations: 11.92 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.2923, allocations: 107.6 kB / 1.264 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2923, allocations: 12 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2924, allocations: 11.97 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.2924, allocations: 8 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.2924, allocations: 11.86 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2924, allocations: 11.94 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.2926, allocations: 103.9 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.2927, allocations: 3.984 kB / 1.264 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2927, allocations: 15.92 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2929, allocations: 91.69 kB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2929, allocations: 4 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2929, allocations: 3.938 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2929, allocations: 0 / 1.264 GB, free: 10.86 MB / 0.9825 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.0004875/0.2934, allocations: 377 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2934, allocations: 12.03 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2934, allocations: 4.891 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.2936, allocations: 168.4 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2936, allocations: 384 / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.2936, allocations: 8.375 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.2937, allocations: 38.23 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2937, allocations: 192 / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2937, allocations: 3.938 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2937, allocations: 0 / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.2938, allocations: 4 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.2939, allocations: 165.5 kB / 1.265 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.294, allocations: 34.55 kB / 1.265 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.294, allocations: 8.859 kB / 1.265 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2941, allocations: 0 / 1.265 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.2942, allocations: 55.48 kB / 1.265 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2942, allocations: 4 kB / 1.265 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.2944, allocations: 73.55 kB / 1.265 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.2944, allocations: 63.39 kB / 1.265 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.2945, allocations: 97.81 kB / 1.265 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2945, allocations: 29.7 kB / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2946, allocations: 80.14 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.2946, allocations: 11.94 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.2946, allocations: 17.72 kB / 1.265 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2948, allocations: 318.8 kB / 1.266 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.2948, allocations: 11.98 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.92e-05/0.2948, allocations: 27.44 kB / 1.266 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.2949, allocations: 55.36 kB / 1.266 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2949, allocations: 0 / 1.266 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.295, allocations: 69.56 kB / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.295, allocations: 4 kB / 1.266 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.295, allocations: 3.938 kB / 1.266 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.295, allocations: 4 kB / 1.266 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.2951, allocations: 7.938 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2951, allocations: 7.984 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.2951, allocations: 3.953 kB / 1.266 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2951, allocations: 8.094 kB / 1.266 GB, free: 8.859 MB / 0.9825 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.486e-05/0.2952, allocations: 110.6 kB / 1.266 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.2952, allocations: 4 kB / 1.266 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.2953, allocations: 7.438 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2953, allocations: 0 / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2953, allocations: 0 / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.2953, allocations: 77.11 kB / 1.266 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2953, allocations: 11.92 kB / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.2954, allocations: 0 / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.2954, allocations: 8 kB / 1.266 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001441/0.2955, allocations: 137 kB / 1.266 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001871/0.2957, allocations: 234.7 kB / 1.266 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.665e-05/0.2957, allocations: 16.44 kB / 1.266 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.2958, allocations: 79.28 kB / 1.266 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of Backend: time 2.81e-07/0.2958, allocations: 0 / 1.266 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.2964, allocations: 169.3 kB / 1.267 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0003925/0.2968, allocations: 0.5448 MB / 1.267 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.003718/0.3005, allocations: 1.082 MB / 1.268 GB, free: 6.297 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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