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.001465/0.001465, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001863/0.001863, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.13 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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 61.58 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002401/0.3145, allocations: 1.211 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.3153, allocations: 412.8 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.3153, allocations: 3.938 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.3154, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.3154, allocations: 0 / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.316, allocations: 91.66 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.316, allocations: 11.98 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.3161, allocations: 11.98 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.3161, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.932e-05/0.3161, allocations: 7.938 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3162, allocations: 8 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3164, allocations: 91.83 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3164, allocations: 0 / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.3164, allocations: 7.938 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.3166, allocations: 83.88 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3166, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3166, allocations: 0 / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3166, allocations: 0 / 0.953 GB, free: 6.121 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.0004843/0.3171, allocations: 347.5 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3172, allocations: 12.03 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3172, allocations: 8.875 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3173, allocations: 160.4 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3173, allocations: 8.297 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3174, allocations: 12.31 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.3175, allocations: 38.23 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3175, allocations: 192 / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3175, allocations: 3.938 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3175, allocations: 0 / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.3175, allocations: 4 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.3177, allocations: 161.6 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.901e-05/0.3178, allocations: 34.55 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.3178, allocations: 8.859 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3178, allocations: 4 kB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.3179, allocations: 55.48 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3179, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.3181, allocations: 73.53 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3182, allocations: 55.34 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.3182, allocations: 97.84 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3183, allocations: 29.7 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.3183, allocations: 80.14 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3183, allocations: 7.906 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3184, allocations: 21.83 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3185, allocations: 318.8 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.3185, allocations: 8 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.3185, allocations: 31.42 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.3186, allocations: 51.38 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3186, allocations: 0 / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.355e-05/0.3187, allocations: 61.62 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3187, allocations: 13.97 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3188, allocations: 3.984 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3188, allocations: 0 / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.3189, allocations: 15.94 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3189, allocations: 0 / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.3189, allocations: 4 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3189, allocations: 4.094 kB / 0.9546 GB, free: 4.172 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 8.141e-05/0.319, allocations: 119.8 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.319, allocations: 8.078 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.319, allocations: 11.48 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3191, allocations: 3.984 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3191, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3191, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.3192, allocations: 157.7 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3192, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.3192, allocations: 8 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3192, allocations: 3.938 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3192, allocations: 3.938 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3193, allocations: 0 / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3193, allocations: 0 / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.3194, allocations: 85.05 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.3194, allocations: 81.11 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3194, allocations: 3.938 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.3195, allocations: 4 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.3195, allocations: 7.984 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3195, allocations: 4 kB / 0.9551 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.3195, allocations: 75.28 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3195, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002299/0.3198, allocations: 28 kB / 0.9552 GB, free: 3.48 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.0003753/0.3202, allocations: 150.5 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3203, allocations: 35.92 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3203, allocations: 0 / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.3203, allocations: 15.98 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.3204, allocations: 0 / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.3207, allocations: 104.8 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3209, allocations: 0.6809 MB / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.321, allocations: 8 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.321, allocations: 7.438 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.321, allocations: 3.938 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.003264/0.3243, allocations: 0.9712 MB / 0.9571 GB, free: 1.461 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 cvode -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