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.0009184/0.0009184, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000967/0.000967, allocations: 177.3 kB / 15.94 MB, free: 228 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 16 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6979, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001349/0.6993, allocations: 0.9449 MB / 1.022 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.7001, allocations: 414.9 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.7001, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.7001, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.7002, allocations: 7.984 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.7007, allocations: 83.7 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.7008, allocations: 12 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.7008, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.7009, allocations: 15.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.7009, allocations: 11.97 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.7009, allocations: 4 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.7011, allocations: 83.8 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.7011, allocations: 7.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.7012, allocations: 33.7 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.7014, allocations: 63.84 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7014, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7014, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7014, allocations: 0 / 1.022 GB, free: 15.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005007/0.7019, allocations: 382.9 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7019, allocations: 15.98 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.702, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.7021, allocations: 170.9 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.7022, allocations: 8 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.7022, allocations: 7.984 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.7023, allocations: 45.56 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7023, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7023, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7023, allocations: 0 / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.7024, allocations: 4 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.7026, allocations: 161.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.7026, allocations: 30.52 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.7026, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.7028, allocations: 59.44 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.7028, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002058/0.703, allocations: 73.62 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.7031, allocations: 63.39 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7032, allocations: 97.86 kB / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.7032, allocations: 25.7 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.7033, allocations: 92.12 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.7033, allocations: 11.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-06/0.7033, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7034, allocations: 318.8 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.7034, allocations: 7.984 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.7035, allocations: 40.3 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.7035, allocations: 12 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7035, allocations: 3.938 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001089/0.7036, allocations: 73.7 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7037, allocations: 8 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7037, allocations: 3.953 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7037, allocations: 4 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.7038, allocations: 11.94 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7038, allocations: 4 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.7038, allocations: 3.906 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.7038, allocations: 7.984 kB / 1.024 GB, free: 13.48 MB / 0.7794 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 8.407e-05/0.7039, allocations: 117.8 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.7039, allocations: 4.031 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.704, allocations: 11.5 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.704, allocations: 3.953 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.704, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.704, allocations: 3.938 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.7041, allocations: 153.7 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7041, allocations: 4.484 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.7042, allocations: 4 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.7042, allocations: 0 / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.7042, allocations: 8 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7042, allocations: 3.938 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7042, allocations: 7.953 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.7043, allocations: 93.02 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.7044, allocations: 77.11 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7044, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.7044, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.7045, allocations: 7.953 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.7045, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.7045, allocations: 83.27 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7045, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002595/0.7048, allocations: 32 kB / 1.025 GB, free: 12.76 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 (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.0003509/0.7051, allocations: 161.7 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.7053, allocations: 40.11 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7053, allocations: 3.938 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.7053, allocations: 15.94 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.078e-05/0.7054, allocations: 1.375 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.7057, allocations: 125.5 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.7061, allocations: 0.6848 MB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.7061, allocations: 4.062 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.7061, allocations: 11.44 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7061, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00344/0.7096, allocations: 1.066 MB / 1.027 GB, free: 10.61 MB / 0.7794 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","../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