Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.009379/0.009379, allocations: 97.7 kB / 15.73 MB, free: 6.066 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.002201/0.002201, allocations: 195.3 kB / 16.67 MB, free: 5.965 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002464/0.3341, allocations: 1.219 MB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008842/0.335, allocations: 428.4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.335, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.3351, allocations: 3.938 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.3351, allocations: 0 / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.3357, allocations: 115.6 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.3358, allocations: 15.94 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.3359, allocations: 3.984 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.3359, allocations: 23.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.3359, allocations: 3.984 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3359, allocations: 7.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.3362, allocations: 99.84 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.3362, allocations: 7.984 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.3362, allocations: 3.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.3364, allocations: 103.7 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3364, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3364, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3365, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 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.0005937/0.3371, allocations: 384.9 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3371, allocations: 12.03 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.3371, allocations: 0.9375 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.3373, allocations: 160.4 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3374, allocations: 4.375 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3374, allocations: 384 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3375, allocations: 46.19 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3375, allocations: 192 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3375, allocations: 3.938 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3375, allocations: 7.984 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.3376, allocations: 4 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.3377, allocations: 157.6 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.3378, allocations: 30.61 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.3379, allocations: 8.859 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.3379, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3381, allocations: 67.41 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3381, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.3383, allocations: 69.58 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.3384, allocations: 55.41 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.3385, allocations: 101.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3385, allocations: 29.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.3385, allocations: 84.14 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3386, allocations: 7.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3386, allocations: 25.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3387, allocations: 318.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.3388, allocations: 11.92 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.3388, allocations: 31.44 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.3389, allocations: 55.3 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3389, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001048/0.339, allocations: 73.52 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.339, allocations: 7.938 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.339, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.339, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.3391, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3391, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.3392, allocations: 8.031 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3392, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 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 7.775e-05/0.3393, allocations: 113.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.3393, allocations: 7.938 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.3393, allocations: 3.5 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3393, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3393, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3393, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3395, allocations: 153.7 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3395, allocations: 8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.3395, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3395, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3395, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3395, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3395, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3397, allocations: 85.02 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.3398, allocations: 85.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3398, allocations: 7.938 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.3398, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.3398, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3399, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.3399, allocations: 87.25 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3399, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003041/0.3402, allocations: 31.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 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 (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.0003421/0.3406, allocations: 168.2 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.3407, allocations: 27.92 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3407, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3407, allocations: 15.98 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3409, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.3411, allocations: 101 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3414, allocations: 0.6808 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.136e-05/0.3414, allocations: 4.25 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.3414, allocations: 7.438 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of SimCode: time 1.593e-06/0.3414, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of Templates: time 0.003362/0.3448, allocations: 1.047 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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