Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001305/0.001305, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001308/0.001308, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 64.08 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7958, allocations: 162.2 MB / 1.083 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002144/0.7979, allocations: 1.211 MB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008061/0.7988, allocations: 454 kB / 1.085 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.7988, allocations: 0.6562 kB / 1.085 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7988, allocations: 3.938 kB / 1.085 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.7989, allocations: 0.8125 kB / 1.085 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.7994, allocations: 113.1 kB / 1.085 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.7995, allocations: 21.16 kB / 1.085 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.555e-05/0.7995, allocations: 3 kB / 1.085 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.7996, allocations: 13.5 kB / 1.085 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.7996, allocations: 9.062 kB / 1.085 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7996, allocations: 5.406 kB / 1.085 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.7999, allocations: 103.5 kB / 1.085 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.7999, allocations: 7.375 kB / 1.085 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.7999, allocations: 12.25 kB / 1.085 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.8001, allocations: 99.25 kB / 1.085 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8001, allocations: 0.7812 kB / 1.085 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8001, allocations: 0 / 1.085 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8002, allocations: 1.219 kB / 1.085 GB, free: 0.6094 MB / 0.8262 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.0003961/0.8006, allocations: 383.5 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8006, allocations: 13.97 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.8006, allocations: 10.83 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.8007, allocations: 176 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.8008, allocations: 2.188 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.8008, allocations: 2.219 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.8009, allocations: 37.3 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.8009, allocations: 192 / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8009, allocations: 4.594 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8009, allocations: 1.531 kB / 1.086 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.801, allocations: 11.77 kB / 1.086 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.8012, allocations: 160.3 kB / 1.086 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.8013, allocations: 28.69 kB / 1.086 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.8013, allocations: 11.78 kB / 1.086 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.8013, allocations: 1.188 kB / 1.086 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.8015, allocations: 62.33 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8015, allocations: 0 / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.8017, allocations: 73.14 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.8018, allocations: 54.69 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.8019, allocations: 103.4 kB / 1.086 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.8019, allocations: 31.05 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.802, allocations: 81.69 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.802, allocations: 15.02 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.802, allocations: 19.81 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8022, allocations: 318.5 kB / 1.086 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.8022, allocations: 13.23 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.8023, allocations: 33.75 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.8024, allocations: 45.44 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8024, allocations: 0 / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001107/0.8025, allocations: 70.45 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.8025, allocations: 9.969 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.8025, allocations: 1.734 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8025, allocations: 1.25 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.8026, allocations: 7.422 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8026, allocations: 1.312 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.8026, allocations: 1.922 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.8027, allocations: 10.78 kB / 1.087 GB, free: 14.83 MB / 0.8419 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.072e-05/0.8028, allocations: 118.1 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.8028, allocations: 10.78 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.8028, allocations: 9.484 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8028, allocations: 0.8438 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8028, allocations: 0 / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8028, allocations: 1.875 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.803, allocations: 158.8 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.803, allocations: 1.219 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.803, allocations: 9.891 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.803, allocations: 4.781 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.8031, allocations: 5.594 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8031, allocations: 4.516 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8031, allocations: 1.656 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.8032, allocations: 81.5 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.8033, allocations: 82.91 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.8033, allocations: 5.719 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.8033, allocations: 4.656 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.8034, allocations: 7.328 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.8034, allocations: 2.141 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.8034, allocations: 85.77 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8034, allocations: 0 / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002871/0.8037, allocations: 33.7 kB / 1.087 GB, free: 14.21 MB / 0.8419 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.0003723/0.8041, allocations: 164.2 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.8042, allocations: 30.02 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8042, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-05/0.8043, allocations: 14.55 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.8044, allocations: 2 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.8048, allocations: 141.8 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.8051, allocations: 0.6817 MB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.8052, allocations: 10.06 kB / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.8052, allocations: 0 / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.003434/0.8086, allocations: 1.244 MB / 1.089 GB, free: 13.11 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches