Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001399/0.001399, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001541/0.001541, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.53 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2495, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002212/0.2517, allocations: 1.205 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.2525, allocations: 412.7 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.2525, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.2525, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.2526, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.253, allocations: 99.64 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.2531, allocations: 15.98 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2531, allocations: 4 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2532, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.09e-05/0.2532, allocations: 19.91 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2532, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2534, allocations: 87.84 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.2534, allocations: 11.94 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2535, allocations: 7.922 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2536, allocations: 83.88 kB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2536, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2536, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2537, allocations: 4 kB / 0.953 GB, free: 6.105 MB / 0.7325 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.0004059/0.2541, allocations: 339.5 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2541, allocations: 12.03 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.2541, allocations: 8.875 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2543, allocations: 168.3 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2543, allocations: 384 / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2543, allocations: 8.375 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.2544, allocations: 38.25 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2544, allocations: 192 / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2544, allocations: 3.938 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2544, allocations: 4 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.2545, allocations: 3.984 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.2546, allocations: 161.7 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.2547, allocations: 30.52 kB / 0.9537 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.2547, allocations: 8.859 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2547, allocations: 96 / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.2549, allocations: 55.39 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2549, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.2551, allocations: 85.45 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2551, allocations: 55.41 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.2552, allocations: 89.86 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2552, allocations: 29.7 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.2553, allocations: 84.14 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.2553, allocations: 7.891 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.2553, allocations: 17.72 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.2554, allocations: 323 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.2554, allocations: 7.984 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.2555, allocations: 31.44 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.2555, allocations: 47.55 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2556, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.637e-05/0.2557, allocations: 69.61 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2557, allocations: 7.938 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2557, allocations: 0 / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2557, allocations: 4 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.2558, allocations: 7.938 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2558, allocations: 4 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.2558, allocations: 7.922 kB / 0.9546 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2558, allocations: 4 kB / 0.9547 GB, free: 4.16 MB / 0.7325 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.262e-05/0.2559, allocations: 117.9 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.2559, allocations: 11.84 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2559, allocations: 3.5 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2559, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.256, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.256, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2561, allocations: 153.7 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2561, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.2561, allocations: 4 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2561, allocations: 7.938 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2561, allocations: 7.922 kB / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2561, allocations: 0 / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2561, allocations: 0 / 0.9549 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.2562, allocations: 81.12 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2563, allocations: 81.09 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2563, allocations: 7.938 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.2563, allocations: 0 / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.2564, allocations: 8 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.2564, allocations: 4 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.2564, allocations: 79.28 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2564, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002313/0.2566, allocations: 27.98 kB / 0.9552 GB, free: 3.477 MB / 0.7325 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.0002853/0.2569, allocations: 163.2 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.257, allocations: 31.92 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2571, allocations: 0 / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.06e-05/0.2571, allocations: 15.94 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.2572, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.2574, allocations: 108.9 kB / 0.9555 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.2577, allocations: 0.6766 MB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.2577, allocations: 8.172 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.2577, allocations: 11.44 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2577, allocations: 0 / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of Templates: time 0.002984/0.2607, allocations: 0.9671 MB / 0.9571 GB, free: 1.457 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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