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.006653/0.006654, allocations: 105.9 kB / 15.73 MB, free: 6 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.001303/0.001304, allocations: 189 kB / 16.67 MB, free: 5.926 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001125, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9852/0.9863, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.003048/0.9894, allocations: 1.206 MB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.9906, allocations: 400.6 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.9907, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.9907, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.9908, allocations: 3.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.9914, allocations: 91.7 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.9915, allocations: 19.94 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.9916, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.9916, allocations: 7.984 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.12e-05/0.9916, allocations: 11.94 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.9916, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.9919, allocations: 91.91 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.992, allocations: 7.969 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.992, allocations: 3.938 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.9922, allocations: 87.77 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9922, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.582e-06/0.9923, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9923, allocations: 4 kB / 1.21 GB, free: 11.71 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.0005385/0.9928, allocations: 343.6 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9929, allocations: 8.031 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.9929, allocations: 4.875 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.9931, allocations: 164.3 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.9931, allocations: 4.375 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.9931, allocations: 4.375 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.9932, allocations: 38.25 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.9932, allocations: 4.188 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.9933, allocations: 7.922 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9933, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.9933, allocations: 7.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.9937, allocations: 161.5 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.9938, allocations: 26.61 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.9938, allocations: 12.86 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.9938, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.9941, allocations: 67.42 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.687e-06/0.9941, allocations: 3.984 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.9943, allocations: 73.61 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.9944, allocations: 51.41 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.9945, allocations: 97.84 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.9945, allocations: 29.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.9946, allocations: 84.27 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.9946, allocations: 3.906 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.9947, allocations: 21.72 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.9949, allocations: 318.8 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.9949, allocations: 4 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.995, allocations: 39.36 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.582e-05/0.9951, allocations: 43.44 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9951, allocations: 0 / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001533/0.9952, allocations: 73.47 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.9953, allocations: 13.81 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9953, allocations: 0 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9953, allocations: 96 / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.9954, allocations: 15.98 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9954, allocations: 0 / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.9955, allocations: 4 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9955, allocations: 0 / 1.211 GB, free: 9.77 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 9.089e-05/0.9956, allocations: 125.7 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.9956, allocations: 3.938 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.9956, allocations: 3.5 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9956, allocations: 4 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9957, allocations: 7.984 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.9957, allocations: 0 / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.9958, allocations: 153.7 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9958, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.9958, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9959, allocations: 3.938 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.9959, allocations: 4 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9959, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9959, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.996, allocations: 89.02 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.9961, allocations: 78.94 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.9961, allocations: 7.938 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.9962, allocations: 3.938 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.9962, allocations: 4 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.9962, allocations: 11.98 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.9963, allocations: 75.28 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9963, allocations: 0 / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003936/0.9967, allocations: 28 kB / 1.212 GB, free: 9.078 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.0004054/0.9971, allocations: 164.6 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.9972, allocations: 27.92 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9973, allocations: 0 / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.9973, allocations: 15.98 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.9975, allocations: 4.188 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.9978, allocations: 108.8 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.9982, allocations: 0.6768 MB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.9983, allocations: 0 / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.9983, allocations: 11.44 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.9983, allocations: 0 / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of Templates: time 0.00458/1.003, allocations: 0.9702 MB / 1.214 GB, free: 7.066 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/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