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.006887/0.006887, allocations: 100.7 kB / 15.73 MB, free: 5.961 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.001549/0.001549, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.299/2.299, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.88 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9917/0.993, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002198/0.9953, allocations: 1.206 MB / 1.089 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.9961, allocations: 392.6 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.9961, allocations: 12.88 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.9961, allocations: 0.7969 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.9962, allocations: 0 / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.9967, allocations: 102 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.9968, allocations: 17.48 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.9969, allocations: 1.672 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.9969, allocations: 4.734 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.148e-05/0.9969, allocations: 9.219 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.997, allocations: 1.062 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.9972, allocations: 90.52 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.9972, allocations: 13.88 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.9972, allocations: 7.344 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.9975, allocations: 79.56 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9975, allocations: 1.094 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9975, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.9975, allocations: 0 / 1.09 GB, free: 4.27 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.0004628/0.998, allocations: 341.5 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.998, allocations: 9.75 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.9981, allocations: 2.625 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.9982, allocations: 174.4 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9982, allocations: 2.469 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.9982, allocations: 6.938 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/0.9983, allocations: 40 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9983, allocations: 192 / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.9984, allocations: 4.906 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.9984, allocations: 0 / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.9984, allocations: 4.453 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.9985, allocations: 153.4 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.9986, allocations: 36.84 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.9986, allocations: 13.39 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.9987, allocations: 1.094 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.9988, allocations: 66.59 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.9988, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001973/0.999, allocations: 71.55 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.9991, allocations: 61.17 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.9991, allocations: 94.97 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.9991, allocations: 26.86 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.9992, allocations: 84.94 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.9992, allocations: 15.25 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.9992, allocations: 20.44 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.9993, allocations: 317.3 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.9993, allocations: 13.33 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.9994, allocations: 32.98 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.9994, allocations: 45.5 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9994, allocations: 0.9688 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.9995, allocations: 69.55 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.9996, allocations: 9.969 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9996, allocations: 1.219 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9996, allocations: 0.9375 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.9997, allocations: 11.59 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9997, allocations: 3.031 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.9997, allocations: 1.438 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9997, allocations: 2.719 kB / 1.091 GB, free: 2.535 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.43e-05/0.9998, allocations: 117.4 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.9998, allocations: 5.094 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.9999, allocations: 5 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9999, allocations: 0.6562 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9999, allocations: 0.6562 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9999, allocations: 0.75 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/1, allocations: 161.2 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1, allocations: 1.125 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/1, allocations: 2.719 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1, allocations: 3.938 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1, allocations: 5.641 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1, allocations: 0.7969 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1, allocations: 1.062 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/1, allocations: 88.61 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/1, allocations: 79.86 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/1, allocations: 4.594 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/1, allocations: 0.9375 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/1, allocations: 6.594 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/1, allocations: 6.156 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.403e-05/1, allocations: 81.83 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1, allocations: 0 / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002793/1.001, allocations: 25.78 kB / 1.092 GB, free: 1.93 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.0003486/1.001, allocations: 169.2 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.001, allocations: 32.33 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.001, allocations: 0.5312 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/1.001, allocations: 13.12 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/1.001, allocations: 2.141 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/1.002, allocations: 101.7 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/1.002, allocations: 0.6759 MB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.455e-05/1.002, allocations: 3.031 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/1.002, allocations: 13.97 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/1.002, allocations: 0 / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Templates: time 0.00382/1.006, allocations: 0.9669 MB / 1.094 GB, free: 0.8516 MB / 0.8575 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