Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.000941/0.0009409, allocations: 99.86 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.0009692/0.0009694, allocations: 177.3 kB / 15.95 MB, free: 216 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 11.98 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.619, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001107/0.6201, allocations: 0.9409 MB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.6208, allocations: 402.9 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.6209, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.6209, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.621, allocations: 3.984 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.6214, allocations: 83.72 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.6214, allocations: 7.984 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.6215, allocations: 4 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.6215, allocations: 4 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.6215, allocations: 19.91 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.6216, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.6217, allocations: 75.88 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.6217, allocations: 7.969 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.6218, allocations: 33.64 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.6219, allocations: 63.91 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.6219, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6219, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.6219, allocations: 0 / 1.022 GB, free: 15.45 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.0003894/0.6223, allocations: 371 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6224, allocations: 19.97 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.6224, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.6225, allocations: 163.1 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6226, allocations: 4 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.6226, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.6227, allocations: 41.64 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6227, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.6227, allocations: 7.938 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6227, allocations: 0 / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.6227, allocations: 15.92 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.6229, allocations: 157.6 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.623, allocations: 30.61 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.623, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.6231, allocations: 63.36 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.6231, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.6233, allocations: 73.59 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6234, allocations: 51.41 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.6235, allocations: 97.84 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.6235, allocations: 37.64 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.6235, allocations: 80.14 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6235, allocations: 3.906 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6236, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.6237, allocations: 318.8 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.6237, allocations: 15.97 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.6237, allocations: 23.44 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.6238, allocations: 19.92 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6238, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.6239, allocations: 73.53 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6239, allocations: 5.25 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6239, allocations: 7.953 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.6239, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.624, allocations: 8 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.624, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.624, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.6241, allocations: 8 kB / 1.024 GB, free: 13.55 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 7.504e-05/0.6241, allocations: 121.9 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.6242, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.6242, allocations: 7.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.6242, allocations: 3.953 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6242, allocations: 4 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6242, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.6243, allocations: 149.7 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6243, allocations: 3.938 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.6243, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6244, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6244, allocations: 11.98 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6244, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6244, allocations: 3.953 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.6245, allocations: 88.97 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.6246, allocations: 81.09 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6246, allocations: 4 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.6246, allocations: 0 / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.6246, allocations: 3.953 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6246, allocations: 12 kB / 1.024 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.6247, allocations: 79.73 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6247, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002685/0.625, allocations: 32 kB / 1.025 GB, free: 12.86 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.0003213/0.6253, allocations: 160.8 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.6254, allocations: 35.92 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6254, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.6255, allocations: 11.98 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.503e-05/0.6256, allocations: 4 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.6258, allocations: 112.6 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.626, allocations: 0.6809 MB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.6261, allocations: 4.188 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.6261, allocations: 11.44 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.6261, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.00318/0.6293, allocations: 1.015 MB / 1.027 GB, free: 10.77 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_latest_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