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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001449/0.001449, allocations: 108.2 kB / 16.41 MB, free: 6.027 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.001547/0.001547, allocations: 186.7 kB / 17.34 MB, free: 5.633 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 55.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9117, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001999/0.9137, allocations: 1.215 MB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.9145, allocations: 395.2 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.9145, allocations: 0 / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.9145, allocations: 4.453 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.285e-05/0.9146, allocations: 3.984 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.9151, allocations: 98.08 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.9151, allocations: 17.77 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.9152, allocations: 3.016 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.9152, allocations: 8.484 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.449e-05/0.9152, allocations: 8.438 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.9152, allocations: 0.9688 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.9154, allocations: 94.97 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.9155, allocations: 5.703 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.9155, allocations: 8.031 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.9157, allocations: 79.88 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9157, allocations: 8 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9157, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.9157, allocations: 1.094 kB / 1.09 GB, free: 4.297 MB / 0.8575 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.0003552/0.916, allocations: 341 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.9161, allocations: 9.281 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.9161, allocations: 2.031 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.573e-05/0.9162, allocations: 162.9 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9162, allocations: 5.438 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.9162, allocations: 7.094 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.9163, allocations: 40.47 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.9164, allocations: 4.125 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.9164, allocations: 3.938 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.9164, allocations: 1.75 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.9164, allocations: 3.672 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.9165, allocations: 158.2 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.9166, allocations: 27.89 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.9166, allocations: 13.48 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.9166, allocations: 0.9688 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.9168, allocations: 73.72 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9168, allocations: 0 / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.9169, allocations: 69.11 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.917, allocations: 53.12 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.917, allocations: 102.5 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.917, allocations: 25.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.9171, allocations: 81.66 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.9171, allocations: 10.5 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.9171, allocations: 21.22 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.9172, allocations: 313.1 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.9172, allocations: 10.7 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.9172, allocations: 36.12 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.9173, allocations: 47.02 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9173, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.137e-05/0.9174, allocations: 64.84 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9174, allocations: 12.12 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9174, allocations: 5.453 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.9174, allocations: 1.875 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.9175, allocations: 7.344 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.9175, allocations: 2.031 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.9175, allocations: 9.828 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.9176, allocations: 3.188 kB / 1.092 GB, free: 2.578 MB / 0.8575 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 4.629e-05/0.9176, allocations: 112.6 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.9176, allocations: 10.39 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.9177, allocations: 12.06 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9177, allocations: 0.875 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9177, allocations: 1.062 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.9177, allocations: 0.5156 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.027e-05/0.9177, allocations: 148.9 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9178, allocations: 1 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.9178, allocations: 2.391 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9178, allocations: 7.875 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.9178, allocations: 2.266 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9178, allocations: 1.094 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9178, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.9179, allocations: 97.58 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.9179, allocations: 85.14 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.918, allocations: 5.188 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.918, allocations: 0.5156 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.918, allocations: 2.688 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.918, allocations: 1.797 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.918, allocations: 82.34 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9181, allocations: 0 / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002429/0.9183, allocations: 30.06 kB / 1.093 GB, free: 1.969 MB / 0.8575 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.0002845/0.9186, allocations: 161.1 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.9187, allocations: 28.84 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9187, allocations: 4.938 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.9188, allocations: 9.25 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.9189, allocations: 8.297 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.9191, allocations: 120.6 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.868e-05/0.9192, allocations: 0.6759 MB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.9192, allocations: 9.094 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.9192, allocations: 3.938 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.003052/0.9223, allocations: 1.163 MB / 1.095 GB, free: 0.8789 MB / 0.8575 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 -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) Reference file matches