Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001714/0.001714, allocations: 199.7 kB / 16.26 MB, free: 6.625 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.462/2.462, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8032, allocations: 140.4 MB / 0.9491 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002197/0.8054, allocations: 1.268 MB / 0.9503 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.8062, allocations: 407.6 kB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.8063, allocations: 0 / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.8063, allocations: 0 / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.8064, allocations: 0 / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.8069, allocations: 83.48 kB / 0.9508 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.807, allocations: 10.27 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.807, allocations: 2.375 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.8071, allocations: 10.7 kB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.8071, allocations: 10.42 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.8071, allocations: 5.156 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.8073, allocations: 93.62 kB / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.8073, allocations: 2 kB / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.8073, allocations: 9.344 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.8075, allocations: 80.44 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8075, allocations: 0.8438 kB / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8075, allocations: 0 / 0.951 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8075, allocations: 0 / 0.951 GB, free: 7.766 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.000371/0.8079, allocations: 353.8 kB / 0.9513 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.8079, allocations: 13.84 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.808, allocations: 2.312 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.391e-05/0.808, allocations: 167.8 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.8081, allocations: 1.781 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.8081, allocations: 2.031 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.8082, allocations: 39.38 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8082, allocations: 192 / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.8082, allocations: 11.92 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.8082, allocations: 1.344 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.8082, allocations: 2.469 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.8084, allocations: 157.3 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.981e-05/0.8084, allocations: 30.14 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.8085, allocations: 9.234 kB / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.8085, allocations: 0 / 0.9518 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.8086, allocations: 60.39 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8086, allocations: 4 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.8088, allocations: 69.45 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.8088, allocations: 52.66 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.8088, allocations: 100.7 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.8089, allocations: 26.89 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.417e-05/0.8089, allocations: 84.08 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.8089, allocations: 9.531 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.8089, allocations: 23.86 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.809, allocations: 316.4 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.809, allocations: 12.06 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.809, allocations: 35 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.8091, allocations: 47.75 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8091, allocations: 0 / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.523e-05/0.8092, allocations: 69.67 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.8092, allocations: 8 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8092, allocations: 1.25 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.8092, allocations: 6.375 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.8093, allocations: 6.375 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8093, allocations: 1.281 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.8093, allocations: 9.406 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.8094, allocations: 14.25 kB / 0.9527 GB, free: 5.969 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 5.23e-05/0.8094, allocations: 113.3 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.8094, allocations: 8.906 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.8095, allocations: 7.5 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8095, allocations: 1.375 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.8095, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8095, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.798e-05/0.8095, allocations: 153.9 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8096, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.8096, allocations: 6.156 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8096, allocations: 3.938 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8096, allocations: 1.125 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8096, allocations: 1.188 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8096, allocations: 4.219 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.8097, allocations: 89.95 kB / 0.9531 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.8097, allocations: 78.27 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.8097, allocations: 8.984 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.8098, allocations: 5 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.8098, allocations: 1.125 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.8098, allocations: 1.062 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.8098, allocations: 77.56 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8098, allocations: 0 / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002346/0.8101, allocations: 32.77 kB / 0.9532 GB, free: 5.348 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.0002817/0.8104, allocations: 147.2 kB / 0.9534 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.8105, allocations: 40.98 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8105, allocations: 0 / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.8105, allocations: 8.125 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.8106, allocations: 5.906 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.8109, allocations: 106.4 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.869e-05/0.811, allocations: 0.681 MB / 0.9542 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.811, allocations: 1.625 kB / 0.9542 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.811, allocations: 14.59 kB / 0.9542 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.811, allocations: 0 / 0.9542 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.003101/0.8141, allocations: 0.9724 MB / 0.9552 GB, free: 3.871 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y