Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001516, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.421/1.421, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.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.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 66.39 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.316, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003467/0.3195, allocations: 1.231 MB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3208, allocations: 448.2 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3209, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.321, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.321, allocations: 3.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.3217, allocations: 107.6 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.3218, allocations: 23.86 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.3219, allocations: 3.984 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.3219, allocations: 12 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.3219, allocations: 11.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.322, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.3222, allocations: 99.84 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3223, allocations: 7.984 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.3223, allocations: 7.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3225, allocations: 107.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3225, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3226, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3226, allocations: 0 / 1.09 GB, free: 15.46 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.0005296/0.3231, allocations: 392.8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3231, allocations: 8.031 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3232, allocations: 0.9375 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3234, allocations: 172.3 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.3234, allocations: 8.297 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3234, allocations: 8.375 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3235, allocations: 34.25 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3236, allocations: 192 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3236, allocations: 3.938 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3236, allocations: 8 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.3236, allocations: 0 / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.3238, allocations: 161.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.3239, allocations: 30.52 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.324, allocations: 16.94 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.324, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3242, allocations: 55.41 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 4.228e-06/0.3242, allocations: 3.984 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.3245, allocations: 73.61 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3245, allocations: 55.34 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3246, allocations: 113.7 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3247, allocations: 29.64 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.3247, allocations: 84.14 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3247, allocations: 11.95 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3248, allocations: 21.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.325, allocations: 314.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.325, allocations: 8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.325, allocations: 31.42 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.3251, allocations: 51.38 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3251, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.3253, allocations: 69.61 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3253, allocations: 9.812 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3253, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3253, allocations: 8.188 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.3254, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3254, allocations: 8.094 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.3255, allocations: 7.953 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3255, allocations: 4 kB / 1.092 GB, free: 13.43 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 9.267e-05/0.3256, allocations: 113.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.3256, allocations: 7.938 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3256, allocations: 3.906 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3256, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3256, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3256, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3258, allocations: 161.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3258, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.3258, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3258, allocations: 7.922 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3258, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3259, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3259, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.326, allocations: 89 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.3261, allocations: 81.11 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3261, allocations: 7.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.3261, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.3261, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3261, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.3262, allocations: 83.27 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3262, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002749/0.3265, allocations: 35.88 kB / 1.092 GB, free: 12.73 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.0003739/0.3269, allocations: 177.4 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.327, allocations: 35.92 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.327, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.3271, allocations: 8 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.3272, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.3275, allocations: 116.9 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3278, allocations: 0.677 MB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.3278, allocations: 8.234 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.3278, allocations: 7.438 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3278, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.00395/0.3318, allocations: 1.092 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches