Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001357/0.001357, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 197 kB / 16.53 MB, free: 6.664 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 64.56 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.335, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00262/0.3377, allocations: 1.199 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.3386, allocations: 408.9 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3386, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.3387, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.136e-05/0.3387, allocations: 3.938 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.3393, allocations: 91.7 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.3394, allocations: 19.94 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.3394, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.3395, allocations: 11.92 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.3395, allocations: 8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3395, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.3397, allocations: 83.91 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3397, allocations: 11.92 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.3398, allocations: 7.922 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.34, allocations: 83.83 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.34, allocations: 7.938 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.644e-06/0.34, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.34, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 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.0004455/0.3405, allocations: 339.6 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3405, allocations: 12.03 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.3406, allocations: 0.9375 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.3407, allocations: 164.6 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3407, allocations: 8.375 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3407, allocations: 384 / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3408, allocations: 34.25 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3408, allocations: 4.188 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3408, allocations: 11.86 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3409, allocations: 4 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.3409, allocations: 0 / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3411, allocations: 157.6 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.3411, allocations: 26.72 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.3412, allocations: 16.84 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3412, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3413, allocations: 63.34 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3413, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001969/0.3415, allocations: 69.61 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3416, allocations: 55.41 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.3417, allocations: 97.84 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3417, allocations: 29.7 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.3417, allocations: 84.27 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3418, allocations: 7.844 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3418, allocations: 25.72 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.3419, allocations: 314.8 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3419, allocations: 7.984 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.266e-05/0.342, allocations: 39.36 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/0.342, allocations: 43.62 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3421, allocations: 3.938 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001252/0.3422, allocations: 73.52 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3422, allocations: 7.938 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3422, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3422, allocations: 96 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.3423, allocations: 11.98 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3423, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.3424, allocations: 0 / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3424, allocations: 4 kB / 1.072 GB, free: 6.559 MB / 0.8262 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.425e-05/0.3425, allocations: 117.8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.3425, allocations: 3.938 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3425, allocations: 7.438 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3425, allocations: 7.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3426, allocations: 153.7 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3427, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.3427, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3427, allocations: 3.938 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3427, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3427, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3427, allocations: 4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3428, allocations: 92.95 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.3429, allocations: 77.11 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3429, allocations: 7.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.3429, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.343, allocations: 4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.343, allocations: 3.984 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.343, allocations: 79.28 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.513e-06/0.343, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002584/0.3433, allocations: 31.94 kB / 1.072 GB, free: 5.871 MB / 0.8262 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.0003291/0.3436, allocations: 171.3 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3437, allocations: 27.92 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3437, allocations: 3.938 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.3438, allocations: 15.98 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3439, allocations: 0.75 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.3442, allocations: 108.9 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3444, allocations: 0.6768 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.3444, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.3445, allocations: 11.44 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.3445, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.003407/0.3479, allocations: 0.9658 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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