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.005424/0.005424, allocations: 103.6 kB / 15.73 MB, free: 6.016 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.001263/0.001263, allocations: 189.5 kB / 16.67 MB, free: 5.945 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.235/2.235, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002581/1.012, allocations: 1.206 MB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001162/1.014, allocations: 399.3 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/1.014, allocations: 1 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/1.014, allocations: 0.7031 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/1.014, allocations: 3.938 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/1.014, allocations: 98.64 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/1.015, allocations: 20.89 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/1.015, allocations: 2.844 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/1.015, allocations: 4.828 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/1.015, allocations: 12.88 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/1.015, allocations: 1.062 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/1.015, allocations: 85.98 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/1.015, allocations: 13.73 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/1.015, allocations: 7.922 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/1.015, allocations: 80.02 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.015, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/1.015, allocations: 4 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.015, allocations: 1.219 kB / 1.09 GB, free: 4.285 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.0005647/1.016, allocations: 340.1 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.016, allocations: 9.812 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/1.016, allocations: 2.688 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/1.016, allocations: 162.6 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.016, allocations: 1.312 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/1.016, allocations: 7.422 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/1.016, allocations: 44.45 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.016, allocations: 192 / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.016, allocations: 4.594 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.016, allocations: 4.844 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/1.016, allocations: 4.641 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/1.017, allocations: 156.9 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/1.017, allocations: 28.53 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/1.017, allocations: 10.03 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.017, allocations: 4.609 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/1.017, allocations: 69.8 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/1.017, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/1.017, allocations: 71.91 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.017, allocations: 58.12 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/1.017, allocations: 94.77 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.017, allocations: 33.73 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/1.017, allocations: 81.83 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/1.017, allocations: 6.922 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/1.017, allocations: 19.67 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/1.018, allocations: 317.2 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/1.018, allocations: 10.16 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/1.018, allocations: 40.22 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/1.018, allocations: 42.95 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.018, allocations: 0 / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001129/1.018, allocations: 69.83 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.018, allocations: 9.422 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.018, allocations: 5.188 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.018, allocations: 6.156 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/1.018, allocations: 7.953 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.018, allocations: 1.891 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/1.018, allocations: 5.031 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/1.018, allocations: 3.25 kB / 1.091 GB, free: 2.559 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 8.852e-05/1.018, allocations: 116.8 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/1.018, allocations: 5.547 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/1.018, allocations: 5.266 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.018, allocations: 5.219 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.018, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.018, allocations: 1.031 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/1.018, allocations: 153.3 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.018, allocations: 0 / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/1.018, allocations: 2.922 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.018, allocations: 8.953 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.018, allocations: 0.6094 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.018, allocations: 1.125 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.018, allocations: 0.6094 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.019, allocations: 89.56 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/1.019, allocations: 88.23 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/1.019, allocations: 5.875 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/1.019, allocations: 0.75 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/1.019, allocations: 6.531 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/1.019, allocations: 1.734 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.927e-05/1.019, allocations: 77.92 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 4.094 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003379/1.019, allocations: 30.66 kB / 1.092 GB, free: 1.949 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.0004714/1.02, allocations: 153.9 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001431/1.02, allocations: 29.02 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.02, allocations: 0.8125 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/1.02, allocations: 17.45 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/1.02, allocations: 3.609 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/1.02, allocations: 95.16 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/1.02, allocations: 0.6757 MB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.579e-05/1.02, allocations: 2.312 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/1.021, allocations: 9.609 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/1.021, allocations: 0.7188 kB / 1.093 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of Templates: time 0.00397/1.024, allocations: 0.9827 MB / 1.094 GB, free: 0.8828 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