Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.00121/0.00121, allocations: 183 kB / 17.34 MB, free: 5.766 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 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.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8248, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002167/0.827, allocations: 1.214 MB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.8278, allocations: 410.9 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.8278, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.8279, allocations: 4 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.8279, allocations: 3.938 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.8284, allocations: 95.19 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.8285, allocations: 22.89 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.8285, allocations: 3.094 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.8286, allocations: 8.641 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.8286, allocations: 12.44 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.8286, allocations: 1.094 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.8288, allocations: 87.17 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.8288, allocations: 6.672 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.8289, allocations: 12.12 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.8291, allocations: 84.84 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8291, allocations: 1.922 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8291, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.8291, allocations: 0 / 1.09 GB, free: 4.289 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.0003821/0.8295, allocations: 345.1 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8295, allocations: 9.031 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.8296, allocations: 3.594 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.8296, allocations: 170.4 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8297, allocations: 5.891 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.8297, allocations: 6.438 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.8298, allocations: 36.56 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8298, allocations: 192 / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8298, allocations: 4.688 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.8298, allocations: 5.281 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/0.8298, allocations: 8.203 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.83, allocations: 154.1 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.8301, allocations: 40.41 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.8301, allocations: 15.2 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.8301, allocations: 0.875 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.8302, allocations: 57.5 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8302, allocations: 1.094 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.8304, allocations: 68.06 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.8305, allocations: 58.53 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.8305, allocations: 99.33 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.8305, allocations: 26.58 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.811e-05/0.8306, allocations: 81.73 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.8306, allocations: 10.97 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.8306, allocations: 20.19 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.8307, allocations: 313.1 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.8307, allocations: 10.3 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.8307, allocations: 40.62 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.8308, allocations: 42.06 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8308, allocations: 0 / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.232e-05/0.8309, allocations: 78.16 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8309, allocations: 11.47 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.8309, allocations: 1.922 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8309, allocations: 2.062 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.831, allocations: 11.7 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.831, allocations: 1.062 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.831, allocations: 2.953 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.8311, allocations: 2.125 kB / 1.092 GB, free: 2.562 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 5.104e-05/0.8311, allocations: 116.8 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.8311, allocations: 10.33 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.8312, allocations: 5.172 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8312, allocations: 0 / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8312, allocations: 1.734 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8312, allocations: 0 / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.8313, allocations: 164.4 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8313, allocations: 0 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.8313, allocations: 2.859 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8313, allocations: 3.938 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.8313, allocations: 1.703 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8313, allocations: 5.859 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8313, allocations: 0 / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.8314, allocations: 94.14 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.8314, allocations: 77.91 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.8315, allocations: 6.109 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.8315, allocations: 3.938 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.8315, allocations: 7.938 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.8315, allocations: 1.859 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.8316, allocations: 82.45 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8316, allocations: 0 / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000242/0.8318, allocations: 31.62 kB / 1.093 GB, free: 1.945 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.0002895/0.8321, allocations: 152.2 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.8322, allocations: 33.25 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8322, allocations: 3.938 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.8323, allocations: 9.453 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.8324, allocations: 6.266 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.8326, allocations: 131.5 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.8327, allocations: 0.6812 MB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.8328, allocations: 8.562 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.8328, allocations: 1.062 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of Templates: time 0.003027/0.8358, allocations: 1.169 MB / 1.095 GB, free: 0.8555 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches