Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_10_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.001586/0.001587, allocations: 108 kB / 15.61 MB, free: 152 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.001618/0.001618, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 63.91 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6203, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002327/0.6227, allocations: 1.215 MB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.6235, allocations: 454.4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.6236, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.6237, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.6237, allocations: 3.938 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.6243, allocations: 107.6 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.6243, allocations: 23.91 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.6244, allocations: 3.938 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.6244, allocations: 12 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.6244, allocations: 7.922 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.6244, allocations: 4 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.6247, allocations: 107.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.6247, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.6247, allocations: 11.94 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.6249, allocations: 95.8 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6249, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6249, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6249, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 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.0004603/0.6254, allocations: 391.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.6254, allocations: 8.031 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.6255, allocations: 38.66 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.6255, allocations: 12.88 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.6257, allocations: 164.3 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6257, allocations: 4.375 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.6257, allocations: 384 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.6258, allocations: 46.19 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.6258, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.6258, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6258, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.6259, allocations: 7.984 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.6262, allocations: 256.9 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.6263, allocations: 42.44 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.6263, allocations: 16.86 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.6263, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.6265, allocations: 63.48 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.6265, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001932/0.6267, allocations: 77.86 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6267, allocations: 55.34 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.6268, allocations: 109.8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6268, allocations: 25.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.6269, allocations: 88.14 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.6269, allocations: 7.812 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.6269, allocations: 21.72 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.627, allocations: 322.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.627, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.6271, allocations: 35.42 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.6272, allocations: 47.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6272, allocations: 7.938 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/0.6273, allocations: 81.59 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6273, allocations: 5.562 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.6273, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6273, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.6274, allocations: 7.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.6274, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.6274, allocations: 11.78 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6274, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 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 8.149e-05/0.6275, allocations: 123.4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.6276, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.6276, allocations: 3.969 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6276, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6276, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6276, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.6279, allocations: 306.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6279, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.6279, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6279, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.628, allocations: 3.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.628, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.628, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.6281, allocations: 167.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.6282, allocations: 81.11 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.6282, allocations: 7.922 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.6283, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.6283, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.6283, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.6284, allocations: 87.27 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6284, allocations: 3.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003219/0.6287, allocations: 35.94 kB / 1.022 GB, free: 13.3 MB / 0.7794 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.0008705/0.6296, allocations: 0.7789 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.6297, allocations: 39.91 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6298, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.6298, allocations: 19.88 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.6301, allocations: 6.969 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.6315, allocations: 1.277 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6319, allocations: 0.6768 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.6319, allocations: 8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.632, allocations: 15.44 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.632, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.6501, allocations: 2.063 MB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.492, allocations: 9.969 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches