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.001354/0.001354, 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.001571/0.001571, allocations: 195 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.48/2.48, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.88 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.732, allocations: 140.3 MB / 0.9491 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002867/0.7349, allocations: 1.277 MB / 0.9503 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.7358, allocations: 439.6 kB / 0.9508 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.7359, allocations: 0 / 0.9508 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.7359, allocations: 5.312 kB / 0.9508 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.736, allocations: 4 kB / 0.9508 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.7367, allocations: 94.16 kB / 0.9508 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.7368, allocations: 20.17 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.7368, allocations: 1.375 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.7369, allocations: 12.05 kB / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.055e-05/0.7369, allocations: 6.75 kB / 0.9509 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.7369, allocations: 1.375 kB / 0.9509 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.7372, allocations: 106.6 kB / 0.951 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7372, allocations: 6.688 kB / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.7373, allocations: 14.73 kB / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.7375, allocations: 90.31 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7375, allocations: 0 / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7375, allocations: 0 / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7375, allocations: 1.375 kB / 0.9511 GB, free: 7.852 MB / 0.7169 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.0004651/0.738, allocations: 382.2 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7381, allocations: 12.19 kB / 0.9515 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.7381, allocations: 3.688 kB / 0.9515 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.799e-05/0.7382, allocations: 169.8 kB / 0.9516 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7382, allocations: 5.75 kB / 0.9516 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.7382, allocations: 1.75 kB / 0.9516 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.7384, allocations: 35.75 kB / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7384, allocations: 4.125 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7384, allocations: 3.938 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7384, allocations: 1.375 kB / 0.9517 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.7384, allocations: 6.75 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.7386, allocations: 161.7 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.7387, allocations: 26.83 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.7387, allocations: 14.45 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.7387, allocations: 3.984 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.7389, allocations: 56.69 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.674e-06/0.7389, allocations: 0 / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002112/0.7391, allocations: 69.55 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.7392, allocations: 56.53 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.7392, allocations: 106.3 kB / 0.9522 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.7393, allocations: 26.77 kB / 0.9522 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.7393, allocations: 81.64 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.7393, allocations: 9.406 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.7394, allocations: 18.78 kB / 0.9523 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.7394, allocations: 315.7 kB / 0.9526 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.7394, allocations: 8.625 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.7395, allocations: 42.92 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.7395, allocations: 44.28 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7395, allocations: 1.406 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.7396, allocations: 76.61 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.7397, allocations: 8.938 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7397, allocations: 1.281 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.7397, allocations: 1.312 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.7398, allocations: 10.8 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7398, allocations: 1.312 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.7398, allocations: 9.375 kB / 0.9528 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.7398, allocations: 6.438 kB / 0.9528 GB, free: 6.023 MB / 0.7169 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 6.907e-05/0.7399, allocations: 112.3 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.7399, allocations: 9.5 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.74, allocations: 8.781 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.74, allocations: 3.984 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.74, allocations: 1.438 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.74, allocations: 0 / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.391e-05/0.7401, allocations: 153.7 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7401, allocations: 0 / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.7401, allocations: 2.906 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7401, allocations: 3.938 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.7401, allocations: 5.062 kB / 0.9531 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7402, allocations: 4 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7402, allocations: 1.188 kB / 0.9531 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.7403, allocations: 90.77 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.7403, allocations: 77.11 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.7403, allocations: 4.969 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.7404, allocations: 1.25 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.7404, allocations: 5.297 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.7404, allocations: 1.469 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.6e-05/0.7404, allocations: 81.66 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7404, allocations: 1.156 kB / 0.9533 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002811/0.7407, allocations: 35.05 kB / 0.9534 GB, free: 5.398 MB / 0.7169 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.0003517/0.7411, allocations: 164.7 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.7412, allocations: 33.52 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7412, allocations: 0 / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.7413, allocations: 11.91 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.7414, allocations: 10.92 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.7417, allocations: 109 kB / 0.9537 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.7418, allocations: 0.6817 MB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.7418, allocations: 2.469 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.7419, allocations: 12.66 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of SimCode: time 7.61e-07/0.7419, allocations: 1.344 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.003788/0.7457, allocations: 1.051 MB / 0.9554 GB, free: 3.867 MB / 0.7169 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