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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00152/0.00152, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00171/0.00171, allocations: 183 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7768, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002277/0.7792, allocations: 1.205 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.78, allocations: 394.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.78, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.7801, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.7801, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.7807, allocations: 99.7 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.7807, allocations: 7.984 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.7808, allocations: 7.938 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.7808, allocations: 15.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.7808, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.7809, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.7811, allocations: 87.91 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.7811, allocations: 7.969 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.7811, allocations: 15.94 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.7813, allocations: 83.77 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7813, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7813, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7813, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 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.0004402/0.7818, allocations: 343.6 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7818, allocations: 8.031 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.7819, allocations: 4.938 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.782, allocations: 164.3 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.782, allocations: 4.375 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.782, allocations: 8.312 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.7821, allocations: 38.25 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7821, allocations: 192 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.7821, allocations: 3.938 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7821, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.7822, allocations: 11.92 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.7823, allocations: 157.5 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.7824, allocations: 30.58 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.7825, allocations: 12.94 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.7825, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.7826, allocations: 59.39 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.7826, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.7828, allocations: 73.55 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.7829, allocations: 55.41 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.7829, allocations: 97.86 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.783, allocations: 29.69 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.783, allocations: 80.14 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.783, allocations: 11.91 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.7831, allocations: 17.72 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7832, allocations: 322.8 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.7832, allocations: 8 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.7832, allocations: 31.55 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.838e-05/0.7833, allocations: 51.36 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7833, allocations: 0 / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.7834, allocations: 77.47 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7834, allocations: 7.938 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7835, allocations: 240 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7835, allocations: 4 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.7835, allocations: 7.984 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7836, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.7836, allocations: 8 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.7836, allocations: 7.984 kB / 1.212 GB, free: 9.738 MB / 0.9356 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.894e-05/0.7837, allocations: 105.8 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.7837, allocations: 12.03 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.7837, allocations: 7.5 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7837, allocations: 3.938 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7838, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7838, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.7839, allocations: 149.7 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7839, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.7839, allocations: 7.984 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7839, allocations: 3.938 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.7839, allocations: 3.938 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7839, allocations: 4 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7839, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.7841, allocations: 93.02 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.7841, allocations: 78.94 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7841, allocations: 3.938 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.7841, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.7842, allocations: 4 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.7842, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.7842, allocations: 83.27 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7842, allocations: 3.938 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000242/0.7845, allocations: 28 kB / 1.212 GB, free: 9.055 MB / 0.9356 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.0003061/0.7848, allocations: 155.3 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.7849, allocations: 32.12 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7849, allocations: 3.938 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.47e-05/0.7849, allocations: 16.06 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.7851, allocations: 4 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.7853, allocations: 126.6 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.7855, allocations: 0.6768 MB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.7855, allocations: 11.44 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7855, allocations: 0 / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002776/0.7883, allocations: 1.155 MB / 1.215 GB, free: 6.828 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches