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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001409/0.001409, allocations: 116.8 kB / 16.37 MB, free: 6.012 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.001459/0.00146, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.5 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.28 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002202/0.2778, allocations: 1.204 MB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.2786, allocations: 409.1 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.2786, allocations: 4 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2786, allocations: 3.938 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.2787, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2791, allocations: 99.64 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.2792, allocations: 11.94 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.2792, allocations: 7.984 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.2793, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.233e-05/0.2793, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2793, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2795, allocations: 99.83 kB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.2795, allocations: 11.92 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2795, allocations: 8 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2797, allocations: 75.83 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2797, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2797, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2797, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 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.000413/0.2801, allocations: 343.6 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2802, allocations: 8.031 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.2802, allocations: 4.875 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.2803, allocations: 168.4 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2803, allocations: 4.375 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.2804, allocations: 4.375 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.2805, allocations: 42.17 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2805, allocations: 4.172 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2805, allocations: 3.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2805, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.2805, allocations: 8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2807, allocations: 161.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.2807, allocations: 30.55 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.2808, allocations: 12.86 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.2808, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.2809, allocations: 67.33 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2809, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001766/0.2811, allocations: 69.62 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2811, allocations: 51.41 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.2812, allocations: 101.8 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2812, allocations: 25.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.2812, allocations: 84.12 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.2813, allocations: 11.91 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2813, allocations: 21.7 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.2814, allocations: 311 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.2814, allocations: 15.94 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.2815, allocations: 31.42 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.2815, allocations: 47.38 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2815, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.908e-05/0.2816, allocations: 65.62 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2816, allocations: 15.92 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2816, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2817, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.2817, allocations: 8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2817, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.2818, allocations: 7.906 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2818, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 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.933e-05/0.2819, allocations: 125.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.2819, allocations: 3.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.2819, allocations: 11.48 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2819, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2819, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2819, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.976e-05/0.282, allocations: 153.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.282, allocations: 3.938 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.2821, allocations: 240 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2821, allocations: 7.938 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.2821, allocations: 7.938 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2821, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2821, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.2822, allocations: 89.03 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2822, allocations: 89.02 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2823, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.2823, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.2823, allocations: 3.984 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2823, allocations: 8 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.2824, allocations: 75.28 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2824, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002288/0.2826, allocations: 28 kB / 1.031 GB, free: 13.5 MB / 0.8106 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.000276/0.2829, allocations: 162.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.283, allocations: 32.02 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.283, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.283, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.2832, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.2834, allocations: 97.06 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.2836, allocations: 0.6806 MB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.2836, allocations: 8.188 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.2836, allocations: 7.438 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2836, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.002939/0.2866, allocations: 0.963 MB / 1.033 GB, free: 11.5 MB / 0.8106 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 -s gbode -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/jenkins1/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