Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001265/0.001265, allocations: 84.38 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.001598/0.001598, 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.616/1.616, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.736 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.000524, allocations: 8.938 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4046, allocations: 159.6 MB / 1.058 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001374/0.4061, allocations: 0.9471 MB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.4069, allocations: 422.8 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.4069, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.4069, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.407, allocations: 3.938 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.4074, allocations: 87.78 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.4075, allocations: 15.98 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.4076, allocations: 4 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.4076, allocations: 7.938 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.4076, allocations: 19.92 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.4077, allocations: 0 / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.4079, allocations: 95.89 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.4079, allocations: 4 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.408, allocations: 33.64 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.4081, allocations: 67.88 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4081, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4082, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.4082, allocations: 4 kB / 1.06 GB, free: 3.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005675/0.4087, allocations: 385.2 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4088, allocations: 8.031 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.4089, allocations: 7.906 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.409, allocations: 159.1 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.4091, allocations: 12 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4091, allocations: 3.953 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4092, allocations: 41.67 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4093, allocations: 0 / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4093, allocations: 4 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4093, allocations: 3.938 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.4093, allocations: 8 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.4096, allocations: 161.7 kB / 1.06 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.4097, allocations: 22.58 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.4097, allocations: 16.86 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4097, allocations: 3.953 kB / 1.06 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.4099, allocations: 63.42 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.41, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002693/0.4102, allocations: 73.67 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.4103, allocations: 55.41 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4104, allocations: 101.8 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.4105, allocations: 29.64 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.4105, allocations: 88.12 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.4106, allocations: 11.84 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.4106, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4108, allocations: 322.8 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.4108, allocations: 7.984 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.4109, allocations: 44.22 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.4109, allocations: 23.92 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4109, allocations: 4 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.4111, allocations: 85.41 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4111, allocations: 4 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4111, allocations: 0 / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4112, allocations: 4 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.4112, allocations: 8 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4113, allocations: 3.984 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.4113, allocations: 8 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.4113, allocations: 128 / 1.061 GB, free: 1.723 MB / 0.8106 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 ($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 (8): * Single equations (assignments): 8 * 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 0.0001029/0.4114, allocations: 117.9 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4114, allocations: 11.95 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.4115, allocations: 3.562 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4115, allocations: 0 / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4115, allocations: 0 / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4115, allocations: 0 / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4117, allocations: 162.1 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4117, allocations: 4 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.4117, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4117, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4117, allocations: 11.95 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4117, allocations: 3.984 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4117, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.4119, allocations: 89.11 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.412, allocations: 77.11 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.412, allocations: 4 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.412, allocations: 3.953 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.4121, allocations: 7.938 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4121, allocations: 7.984 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.4121, allocations: 83.28 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.4122, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003051/0.4125, allocations: 39.98 kB / 1.062 GB, free: 1.012 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 (5): * Single equations (assignments): 3 * 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.0004672/0.4129, allocations: 169.6 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.4131, allocations: 35.92 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4131, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.4132, allocations: 8 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.4133, allocations: 8 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.4137, allocations: 120.6 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4141, allocations: 0.6851 MB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.4142, allocations: 4 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.4142, allocations: 7.438 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4142, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.003772/0.418, allocations: 1.069 MB / 1.064 GB, free: 14.86 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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