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.001644/0.001644, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001813/0.001813, allocations: 185.5 kB / 17.35 MB, free: 5.719 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6902, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002043/0.6923, allocations: 1.194 MB / 1.222 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.6931, allocations: 398.7 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.6931, allocations: 0 / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.6931, allocations: 7.938 kB / 1.222 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.6932, allocations: 3.984 kB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.6937, allocations: 95.59 kB / 1.223 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.6937, allocations: 15.98 kB / 1.223 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.6938, allocations: 7.984 kB / 1.223 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.6938, allocations: 3.984 kB / 1.223 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.6938, allocations: 15.92 kB / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.6938, allocations: 0 / 1.223 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.694, allocations: 95.84 kB / 1.223 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.6941, allocations: 3.984 kB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.6941, allocations: 11.94 kB / 1.223 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.6943, allocations: 79.88 kB / 1.223 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6943, allocations: 0 / 1.223 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6943, allocations: 0 / 1.223 GB, free: 408 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6943, allocations: 0 / 1.223 GB, free: 408 kB / 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.0003942/0.6947, allocations: 347.5 kB / 1.223 GB, free: 8 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6947, allocations: 8.031 kB / 1.223 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.6948, allocations: 5.016 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.6949, allocations: 160.4 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.6949, allocations: 8.375 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.6949, allocations: 4.375 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.695, allocations: 38.19 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.695, allocations: 4.188 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.695, allocations: 3.938 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.6951, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.752e-05/0.6951, allocations: 7.984 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.6952, allocations: 153.5 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.183e-05/0.6953, allocations: 30.58 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.6953, allocations: 16.98 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.6953, allocations: 4 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.6955, allocations: 59.34 kB / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.6955, allocations: 0 / 1.224 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.6957, allocations: 73.61 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.6957, allocations: 55.41 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.6958, allocations: 97.84 kB / 1.224 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.6958, allocations: 29.7 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.6958, allocations: 80.14 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.6959, allocations: 7.812 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.6959, allocations: 21.72 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.696, allocations: 318.8 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.696, allocations: 8.062 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.6961, allocations: 35.44 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.6961, allocations: 47.36 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6961, allocations: 3.938 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.875e-05/0.6962, allocations: 69.62 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6962, allocations: 4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6963, allocations: 7.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6963, allocations: 3.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.6963, allocations: 12.22 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6964, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.6964, allocations: 3.938 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.6964, allocations: 4 kB / 1.224 GB, free: 14.45 MB / 0.9512 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.882e-05/0.6965, allocations: 118.5 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.6965, allocations: 3.984 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.6965, allocations: 7.438 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.6965, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6965, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.6966, allocations: 89 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6966, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.6966, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.6966, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001171/0.6968, allocations: 137 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001428/0.6969, allocations: 242.7 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.525e-05/0.697, allocations: 12 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.697, allocations: 75.28 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of Backend: time 2.21e-07/0.697, allocations: 0 / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.6975, allocations: 165.5 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004117/0.698, allocations: 0.5409 MB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.004086/0.7021, allocations: 1.005 MB / 1.227 GB, free: 11.98 MB / 0.9512 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) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y