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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004827/0.004827, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001153/0.001153, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 71.89 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3711, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002969/0.3742, allocations: 1.231 MB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.3751, allocations: 438.5 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.3752, allocations: 0 / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.3752, allocations: 3.938 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.3753, allocations: 4 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.376, allocations: 103.6 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.3761, allocations: 27.91 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3762, allocations: 11.92 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.3762, allocations: 8 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.3762, allocations: 11.92 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3763, allocations: 0 / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.3765, allocations: 103.9 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.3766, allocations: 3.984 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.3766, allocations: 11.94 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3769, allocations: 103.7 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3769, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3769, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3769, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 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.0005879/0.3775, allocations: 389.3 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3775, allocations: 16.56 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.3776, allocations: 34.75 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3777, allocations: 8.844 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3778, allocations: 164.4 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.3778, allocations: 4.375 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.3778, allocations: 384 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.378, allocations: 42.25 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.378, allocations: 7.938 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.378, allocations: 0 / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.378, allocations: 0 / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.378, allocations: 11.92 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3784, allocations: 249 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.3785, allocations: 42.48 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.3785, allocations: 16.86 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.3786, allocations: 0 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3787, allocations: 67.42 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3788, allocations: 0 / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002218/0.379, allocations: 69.59 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3791, allocations: 55.41 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.3791, allocations: 110.1 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3792, allocations: 29.7 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.3792, allocations: 88.12 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3793, allocations: 15.75 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3793, allocations: 21.72 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3794, allocations: 318.8 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.3795, allocations: 4 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.3795, allocations: 43.36 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.3796, allocations: 47.38 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3796, allocations: 3.938 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001105/0.3797, allocations: 69.61 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3797, allocations: 8 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3797, allocations: 0 / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3798, allocations: 4.062 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.3798, allocations: 15.94 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3798, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.3799, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3799, allocations: 4 kB / 1.211 GB, free: 5.918 MB / 0.9669 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001029/0.38, allocations: 125.7 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.38, allocations: 7.844 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3801, allocations: 3.969 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3801, allocations: 0 / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3801, allocations: 8 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3801, allocations: 0 / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.3804, allocations: 298.6 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3804, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.3805, allocations: 7.938 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3805, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3805, allocations: 4 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3805, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3805, allocations: 0 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3807, allocations: 163.8 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.3809, allocations: 93.03 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3809, allocations: 4 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.381, allocations: 4 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.381, allocations: 7.984 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.381, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.381, allocations: 79.28 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3811, allocations: 0 / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002936/0.3814, allocations: 39.92 kB / 1.212 GB, free: 4.984 MB / 0.9669 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009257/0.3823, allocations: 0.7818 MB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3825, allocations: 39.86 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3826, allocations: 0 / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.3826, allocations: 15.98 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3828, allocations: 8 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.3841, allocations: 1.298 MB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3845, allocations: 0.6846 MB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.3845, allocations: 0 / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.3846, allocations: 15.44 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3846, allocations: 0 / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.4051, allocations: 2.109 MB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.42, allocations: 17.84 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > 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