Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001291/0.001296, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001354, allocations: 192 kB / 16.25 MB, free: 6.621 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 469.8 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 68.34 kB / 0.908 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3835, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002669/0.3862, allocations: 1.283 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.3872, allocations: 456.4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3872, allocations: 0 / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.3873, allocations: 3.938 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.3873, allocations: 0 / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.3879, allocations: 95.77 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.388, allocations: 15.94 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.3881, allocations: 15.91 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.3881, allocations: 8 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.3881, allocations: 11.92 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3881, allocations: 0 / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.3884, allocations: 107.9 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3884, allocations: 4 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3884, allocations: 15.92 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3886, allocations: 103.7 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3886, allocations: 0 / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.083e-06/0.3886, allocations: 0 / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3887, allocations: 0 / 1.065 GB, free: 12.53 MB / 0.8262 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.0005954/0.3893, allocations: 393.3 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3893, allocations: 8.031 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3894, allocations: 8.938 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3895, allocations: 160.4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.3896, allocations: 4.375 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3896, allocations: 4.375 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3897, allocations: 46.23 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3897, allocations: 192 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3898, allocations: 3.938 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3898, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.3898, allocations: 11.92 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.39, allocations: 161.7 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.3901, allocations: 30.56 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3902, allocations: 12.86 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3902, allocations: 7.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3904, allocations: 63.38 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3904, allocations: 0 / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002462/0.3906, allocations: 85.55 kB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3907, allocations: 55.41 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.3908, allocations: 97.86 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3908, allocations: 25.7 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.3909, allocations: 92.12 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3909, allocations: 11.75 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.391, allocations: 25.72 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3911, allocations: 314.8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.3912, allocations: 8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.3912, allocations: 44.28 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.3913, allocations: 64.17 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3913, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001132/0.3915, allocations: 73.61 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3915, allocations: 9.812 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3915, allocations: 7.938 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3915, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.3916, allocations: 11.94 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3916, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.3916, allocations: 12.03 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.3917, allocations: 4 kB / 1.067 GB, free: 10.45 MB / 0.8262 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 0.0001017/0.3918, allocations: 109.8 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3918, allocations: 12.42 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.3918, allocations: 3.562 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3918, allocations: 0 / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3918, allocations: 0 / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3918, allocations: 4 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.392, allocations: 157.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.392, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.392, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.392, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.392, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3921, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3921, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.3922, allocations: 85.12 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3923, allocations: 85 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.3923, allocations: 3.938 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.3923, allocations: 8 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.3923, allocations: 4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3924, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.3924, allocations: 87.2 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3924, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002675/0.3927, allocations: 32 kB / 1.068 GB, free: 9.754 MB / 0.8262 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.0003903/0.3931, allocations: 177 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3932, allocations: 31.92 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3932, allocations: 3.938 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.3933, allocations: 16.23 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3934, allocations: 6.391 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.3937, allocations: 117.4 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.394, allocations: 0.6768 MB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.3941, allocations: 7.984 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.3941, allocations: 7.438 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3941, allocations: 4 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.003889/0.398, allocations: 1.093 MB / 1.07 GB, free: 7.57 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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